summaryrefslogtreecommitdiff
path: root/extra/xorg-xpr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-xpr/PKGBUILD')
-rw-r--r--extra/xorg-xpr/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/xorg-xpr/PKGBUILD b/extra/xorg-xpr/PKGBUILD
index 47ed9440b..b0915507e 100644
--- a/extra/xorg-xpr/PKGBUILD
+++ b/extra/xorg-xpr/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 113806 2011-03-10 15:48:32Z jgc $
+# $Id: PKGBUILD 151009 2012-02-24 13:13:47Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-xpr
pkgver=1.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Print an X window dump from xwd"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
@@ -21,7 +21,10 @@ build() {
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"
}