diff options
-rw-r--r-- | abs/core/xproto/PKGBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core/xproto/PKGBUILD b/abs/core/xproto/PKGBUILD index be9eccf..b29feb0 100644 --- a/abs/core/xproto/PKGBUILD +++ b/abs/core/xproto/PKGBUILD @@ -1,22 +1,25 @@ -# $Id: PKGBUILD 29290 2009-03-07 18:46:58Z jgc $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 99386 2010-11-14 16:32:03Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + pkgname=xproto -pkgver=7.0.15 +pkgver=7.0.19 pkgrel=1 pkgdesc="X11 core wire protocol and auxiliary headers" -arch=(i686 x86_64) +arch=(any) license=('custom') url="http://xorg.freedesktop.org/" source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) -md5sums=('1a2b31430d04340be2e49e8b6445e076') +sha1sums=('c080da482474dd422cb90b52202bd616cf0854e1') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 + ./configure --prefix=/usr 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}/" } |