diff options
-rw-r--r-- | abs/core/libpciaccess/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/abs/core/libpciaccess/PKGBUILD b/abs/core/libpciaccess/PKGBUILD index de8174d..07d67f8 100644 --- a/abs/core/libpciaccess/PKGBUILD +++ b/abs/core/libpciaccess/PKGBUILD @@ -2,23 +2,26 @@ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=libpciaccess -pkgver=0.11.0 +pkgver=0.12.0 pkgrel=1 pkgdesc="X11 PCI access library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" depends=('glibc') makedepends=('pkgconfig' 'xorg-util-macros') options=('!libtool') source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('bcebba8b8441af151b59b63e8e91e66133b64158') +sha1sums=('1c77be1cf04a88bb21232e823bd9a64dab393398') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc || return 1 + ./configure --prefix=/usr --sysconfdir=/etc make || return 1 +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } |