diff options
author | root <root@rshg054.dnsready.net> | 2012-03-20 00:01:23 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-20 00:01:23 +0000 |
commit | 99136e3a2e9f6f07a7ff08d5721bce354b853c8b (patch) | |
tree | 3cd677128a00bc9501f93e27e53ebba72f44cd52 /community/qingy/PKGBUILD | |
parent | de5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (diff) |
Tue Mar 20 00:01:23 UTC 2012
Diffstat (limited to 'community/qingy/PKGBUILD')
-rw-r--r-- | community/qingy/PKGBUILD | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/community/qingy/PKGBUILD b/community/qingy/PKGBUILD index a9ac59201..c55dc7dae 100644 --- a/community/qingy/PKGBUILD +++ b/community/qingy/PKGBUILD @@ -1,49 +1,35 @@ -# $Id: PKGBUILD 67766 2012-03-14 10:49:05Z giovanni $ -# Maintainer: Eric Belanger <eric@archlinux.org> +# $Id: PKGBUILD 68162 2012-03-18 19:39:54Z ebelanger $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Contributor: Eric Belanger <eric@archlinux.org> pkgname=qingy pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="A DirectFB getty replacement" arch=('i686' 'x86_64') url="http://qingy.sourceforge.net/" license=('GPL') -depends=('directfb' 'pam' 'openssl' 'ncurses' 'libxss') +depends=('directfb' 'openssl' 'libxss') +makedepends=('emacs') backup=('etc/qingy/settings' 'etc/qingy/welcomes') options=('!libtool') -install=$pkgname.install -source=("http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2" - 'qingy.logrotate' - 'README') +install=qingy.install +source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \ + qingy.logrotate) md5sums=('1e0912655e240adfd0ce5ced30bbc685' - 'a9bdfd0ac9f29380eafa97a4a056789d' - 'f54865d71ea34e2f68e53ef60248701b') + 'a9bdfd0ac9f29380eafa97a4a056789d') build() { cd "${srcdir}/${pkgname}-${pkgver}" - - sed -i 's|/usr/share/xsessions|/etc/X11/sessions|' src/libraries/session.c - sed -i 's|/usr/X11R6/bin|/usr/X11R6/bin:/sbin:/usr/sbin:/opt/kde/bin:/opt/plt/bin:/usr/share/eclipse:/opt/java/bin:/opt/java/jre/bin:/opt/openoffice/program:/opt/NX/bin:/opt/qt/bin:/opt/plan9/bin:/opt/firebird/bin:/opt/glest/bin:/opt/grass/bin:/opt/maven/bin:/usr/share/netbeans/bin:/opt/qgis/bin:/opt/texlive/bin:/opt/torcs/bin:/opt/wildfire/bin|' src/libraries/session.c - - ./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc \ - --disable-optimizations --enable-pam \ - --disable-static-build --enable-gpm-lock --enable-emacs + XFREE=/usr/bin/Xorg XINIT=/usr/bin/xinit \ + ./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc \ + --disable-optimizations --enable-pam \ + --disable-static-build --enable-gpm-lock --enable-emacs make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - - install -d "${pkgdir}/var/lib/qingy" install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy" - install -D -m644 "${srcdir}/README" "${pkgdir}/usr/share/doc/qingy/README" - -# fix settings for Arch - sed -i 's|/var/lib/misc|/var/lib/qingy|' "${pkgdir}/etc/qingy/settings" - sed -i 's|/usr/X11R6/bin/XFree86|/usr/bin/Xorg|' "${pkgdir}/etc/qingy/settings" - sed -i 's|/usr/X11R6/bin/xinit|/usr/bin/xinit|' "${pkgdir}/etc/qingy/settings" - sed -i 's|session optional|#session optional|' "${pkgdir}/etc/pam.d/qingy" } |