diff options
-rw-r--r-- | abs/core/libxss/PKGBUILD | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/abs/core/libxss/PKGBUILD b/abs/core/libxss/PKGBUILD index 2226df7..5bf80a4 100644 --- a/abs/core/libxss/PKGBUILD +++ b/abs/core/libxss/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 1905 2008-05-22 18:21:37Z jgc $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 97566 2010-10-31 15:57:08Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=libxss -pkgver=1.1.3 +pkgver=1.2.1 pkgrel=1 pkgdesc="X11 Screen Saver extension library" arch=(i686 x86_64) -license=('custom:XFREE86') +license=('custom') url="http://xorg.freedesktop.org/" depends=('libxext' 'scrnsaverproto') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') options=('!libtool') source=(${url}/releases/individual/lib/libXScrnSaver-${pkgver}.tar.bz2) +sha1sums=('3c29e2222fd68e26e408234c51c6d8b2edf6ab19') build() { - cd ${startdir}/src/libXScrnSaver-${pkgver} + cd "${srcdir}/libXScrnSaver-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 +} +package() { + cd "${srcdir}/libXScrnSaver-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 - install -D -m644 ${startdir}/src/libXScrnSaver-${pkgver}/COPYING \ - ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } -md5sums=('93f84b6797f2f29cae1ce23b0355d00d') |