diff options
-rw-r--r-- | abs/core/fixesproto/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/abs/core/fixesproto/PKGBUILD b/abs/core/fixesproto/PKGBUILD index 6af302b..2cc1e4e 100644 --- a/abs/core/fixesproto/PKGBUILD +++ b/abs/core/fixesproto/PKGBUILD @@ -1,22 +1,27 @@ -# $Id: PKGBUILD 54646 2009-10-11 16:21:38Z andyrtr $ +# $Id: PKGBUILD 97554 2010-10-31 15:47:03Z jgc $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=fixesproto -pkgver=4.1.1 +pkgver=4.1.2 pkgrel=1 pkgdesc="X11 Fixes extension wire protocol" arch=(any) url="http://xorg.freedesktop.org/" license=('custom') depends=('xproto' 'xextproto') +makedepends=('xorg-util-macros') source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) -md5sums=('4c1cb4f2ed9f34de59f2f04783ca9483') +sha1sums=('c9cda7ff37849250c328f8dc52dc0f6e546df3a5') build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR=${pkgdir} install || return 1 - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } |