diff options
-rw-r--r-- | abs/core/libxinerama/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/abs/core/libxinerama/PKGBUILD b/abs/core/libxinerama/PKGBUILD index f841525..de37eac 100644 --- a/abs/core/libxinerama/PKGBUILD +++ b/abs/core/libxinerama/PKGBUILD @@ -1,22 +1,28 @@ -# $Id: PKGBUILD 1902 2008-05-22 18:17:12Z jgc $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 97812 2010-11-01 22:26:22Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=libxinerama -pkgver=1.0.3 +pkgver=1.1.1 pkgrel=1 pkgdesc="X11 Xinerama extension library" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" +license=('custom') depends=('libxext' 'xineramaproto') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') options=(!libtool) source=(${url}/releases/individual/lib/libXinerama-${pkgver}.tar.bz2) +sha1sums=('f030b0cfcce15502aac78188524f32a6f29bd0a4') build() { - cd ${startdir}/src/libXinerama-${pkgver} + cd "${srcdir}/libXinerama-${pkgver}" ./configure --prefix=/usr - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + make + make DESTDIR="${pkgdir}" install +} +package() { + cd "${srcdir}/libXinerama-${pkgver}" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } -md5sums=('cd9f7c46439ac40e0517a302d2434d2c') |