summaryrefslogtreecommitdiff
path: root/extra/xorg-xkill/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-xkill/PKGBUILD')
-rw-r--r--extra/xorg-xkill/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/xorg-xkill/PKGBUILD b/extra/xorg-xkill/PKGBUILD
index b1dbbe639..867f20af8 100644
--- a/extra/xorg-xkill/PKGBUILD
+++ b/extra/xorg-xkill/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 113786 2011-03-10 15:44:09Z jgc $
+# $Id: PKGBUILD 151025 2012-02-24 13:37:13Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-xkill
pkgver=1.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Kill a client by its X resource"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
@@ -18,7 +18,10 @@ build() {
cd "${srcdir}/xkill-${pkgver}"
./configure --prefix=/usr
make
+}
+
+package() {
+ cd "${srcdir}/xkill-${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"
}