diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/libxcursor/PKGBUILD | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/abs/core/libxcursor/PKGBUILD b/abs/core/libxcursor/PKGBUILD index 673585e..9e37fa7 100644 --- a/abs/core/libxcursor/PKGBUILD +++ b/abs/core/libxcursor/PKGBUILD @@ -1,22 +1,29 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 97807 2010-11-01 22:23:46Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=libxcursor -pkgver=1.1.9 +pkgver=1.1.11 pkgrel=1 pkgdesc="X cursor management library" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" +license=('custom') depends=('libxfixes' 'libxrender') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') options=('!libtool') source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2) +sha1sums=('35491bd17cbcdda712e1a064c67ccbc523e2702c') build() { - cd ${startdir}/src/libXcursor-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc \ - --build=${CHOST} --host=${CHOST} + cd "${srcdir}/libXcursor-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } -md5sums=('99b7554037a92b260891091e81815a0a') +package() { + cd "${srcdir}/libXcursor-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} + |