summaryrefslogtreecommitdiff
path: root/community/qingy/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/qingy/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/qingy/PKGBUILD')
-rw-r--r--community/qingy/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/qingy/PKGBUILD b/community/qingy/PKGBUILD
new file mode 100644
index 000000000..2d4b62b95
--- /dev/null
+++ b/community/qingy/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 90406 2013-05-12 08:49:01Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=qingy
+pkgver=1.0.0
+pkgrel=8
+pkgdesc="A DirectFB getty replacement"
+arch=('i686' 'x86_64')
+url="http://qingy.sourceforge.net/"
+license=('GPL')
+depends=('directfb' 'openssl' 'libxss')
+makedepends=('emacs')
+backup=('etc/pam.d/qingy' 'etc/logrotate.d/qingy' 'etc/qingy/settings' 'etc/qingy/welcomes')
+options=('!libtool')
+install=qingy.install
+source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \
+ qingy.logrotate qingy@.service)
+sha1sums=('22ee505e935bf7ddcbd33e23f754a5a1ca082c81'
+ '21676cf0b71334c666f7b3e4f3d8b4f319266c81'
+ '43a6f1cee03ffa598a77cb3c333cb1e8c63b4a2c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|/lib/security/||' media/pam/default/qingy
+ XFREE=/usr/bin/Xorg XINIT=/usr/bin/xinit \
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \
+ --enable-emacs --disable-optimizations --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy"
+ install -D -m644 "${srcdir}/qingy@.service" "${pkgdir}/usr/lib/systemd/system/qingy@.service"
+}