diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:27:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:27:35 (GMT) |
commit | cb68e3e5ea8d06526b2ecf519b7a9a83c26507c0 (patch) | |
tree | 12581a46d022f5a3534f2a2f8645b5812d87e7d2 /abs/core/resourceproto/PKGBUILD | |
parent | f9f26b2e450a57940680e87ad3b28e353f515a0e (diff) | |
download | linhes_pkgbuild-cb68e3e5ea8d06526b2ecf519b7a9a83c26507c0.zip linhes_pkgbuild-cb68e3e5ea8d06526b2ecf519b7a9a83c26507c0.tar.gz linhes_pkgbuild-cb68e3e5ea8d06526b2ecf519b7a9a83c26507c0.tar.bz2 |
resourceproto 1.2.0
Diffstat (limited to 'abs/core/resourceproto/PKGBUILD')
-rw-r--r-- | abs/core/resourceproto/PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/abs/core/resourceproto/PKGBUILD b/abs/core/resourceproto/PKGBUILD index 83da309..9cf222b 100644 --- a/abs/core/resourceproto/PKGBUILD +++ b/abs/core/resourceproto/PKGBUILD @@ -1,21 +1,27 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -#Maintainer: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 151336 2012-02-25 14:40:00Z pierre $ +# Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=resourceproto -pkgver=1.1.0 -pkgrel=1 +pkgver=1.2.0 +pkgrel=2 pkgdesc="X11 Resource extension wire protocol" -arch=(i686 x86_64) +arch=('any') url="http://xorg.freedesktop.org/" -source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) +license=('custom') +makedepends=('xorg-util-macros') +source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('9ff9bb9243b0474330959dc3853973523c9dd9ce') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr - make || return 1 + make } + package() { - cd ${startdir}/src/${pkgname}-${pkgver} - make DESTDIR=${startdir}/pkg install || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } -md5sums=('84795594b3ebd2ee2570cf93340d152c') |