diff options
Diffstat (limited to 'abs/core/xorg-xpr/PKGBUILD')
-rw-r--r-- | abs/core/xorg-xpr/PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/abs/core/xorg-xpr/PKGBUILD b/abs/core/xorg-xpr/PKGBUILD index 9fa513a..11ba4ba 100644 --- a/abs/core/xorg-xpr/PKGBUILD +++ b/abs/core/xorg-xpr/PKGBUILD @@ -1,26 +1,27 @@ -# $Id: $ +# $Id: PKGBUILD 155001 2012-04-01 10:04:57Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xorg-xpr -pkgver=1.0.3 -pkgrel=2 +pkgver=1.0.4 +pkgrel=1 pkgdesc="Print an X window dump from xwd" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') -depends=('libx11' 'libxmu') +depends=('libx11' 'libxmu' 'sh') makedepends=('xorg-util-macros') -source=(http://xorg.freedesktop.org/archive/individual/app/xpr-${pkgver}.tar.bz2 - copyright.patch) -sha1sums=('9dbd0ff136b612285e00d92d0c7675a4207b1c4a' - 'd2649781330400b83cf3553d9cfd6e02dd93a2bd') +groups=('xorg-apps' 'xorg') +source=(http://xorg.freedesktop.org/archive/individual/app/xpr-${pkgver}.tar.bz2) +sha1sums=('0645404e9aa2c9f979e4d006c483633bf6cfc2d9') build() { cd "${srcdir}/xpr-${pkgver}" - patch -Np1 -i "${srcdir}/copyright.patch" ./configure --prefix=/usr make +} + +package() { + cd "${srcdir}/xpr-${pkgver}" make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |