diff options
Diffstat (limited to 'abs/core/xf86driproto/PKGBUILD')
-rw-r--r-- | abs/core/xf86driproto/PKGBUILD | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/abs/core/xf86driproto/PKGBUILD b/abs/core/xf86driproto/PKGBUILD index 197c37f..860e1e7 100644 --- a/abs/core/xf86driproto/PKGBUILD +++ b/abs/core/xf86driproto/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 50995 2009-09-04 12:48:43Z jgc $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 151192 2012-02-25 07:11:08Z allan $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> + pkgname=xf86driproto -pkgver=2.1.0 -pkgrel=1 +pkgver=2.1.1 +pkgrel=2 pkgdesc="X11 DRI extension wire protocol" -arch=(any) +arch=('any') +makedepends=('xorg-util-macros') url="http://xorg.freedesktop.org/" license=('custom') -source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2 - LICENSE) -sha1sums=('0dfc6616ffc68ca3c3b5decb1e365aaa93be8548' - '32bab65dd9c0b49333146abf16602967041b0d92') +source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('23e861f40ba0f0cbbfd7db7ba2ef623762ffca17') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |