summaryrefslogtreecommitdiff
path: root/extra/xorg-xmag/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-xmag/PKGBUILD')
-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 4e3728a34..92a65a4bd 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 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
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"
}