summaryrefslogtreecommitdiff
path: root/extra/xorg-sessreg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-sessreg/PKGBUILD')
-rw-r--r--extra/xorg-sessreg/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/xorg-sessreg/PKGBUILD b/extra/xorg-sessreg/PKGBUILD
index 48859fd5a..a9b930917 100644
--- a/extra/xorg-sessreg/PKGBUILD
+++ b/extra/xorg-sessreg/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 141120 2011-10-24 12:17:34Z jgc $
+# $Id: PKGBUILD 176901 2013-02-02 07:10:44Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-sessreg
pkgver=1.0.7
-pkgrel=1.1
+pkgrel=2
pkgdesc="Register X sessions in system utmp/utmpx databases"
arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
@@ -18,6 +18,10 @@ build() {
cd "${srcdir}/sessreg-${pkgver}"
./configure --prefix=/usr
make
+}
+
+package() {
+ cd "${srcdir}/sessreg-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"