summaryrefslogtreecommitdiff
path: root/extra/xorg-xmag
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-xmag')
-rw-r--r--extra/xorg-xmag/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/xorg-xmag/PKGBUILD b/extra/xorg-xmag/PKGBUILD
index 66dafe737..aede01654 100644
--- a/extra/xorg-xmag/PKGBUILD
+++ b/extra/xorg-xmag/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xmag
pkgver=1.0.4
-pkgrel=1
+pkgrel=2
pkgdesc="Magnify parts of the screen"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
@@ -17,7 +17,10 @@ build() {
cd "${srcdir}/xmag-${pkgver}"
./configure --prefix=/usr
make
+}
+
+package() {
+ cd "${srcdir}/xmag-${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"
}