summaryrefslogtreecommitdiff
path: root/community-testing/qingy/PKGBUILD
blob: eede5ca9d27808842e83e30f6f2d8167bb1e3cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 70157 2012-04-30 23:01:40Z ebelanger $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=qingy
pkgver=1.0.0
pkgrel=4
pkgdesc="A DirectFB getty replacement"
arch=('i686' 'x86_64')
url="http://qingy.sourceforge.net/"
license=('GPL')
depends=('directfb' 'openssl' 'libxss')
makedepends=('emacs')
backup=('etc/qingy/settings' 'etc/qingy/welcomes')
options=('!libtool')
install=qingy.install
source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \
        qingy.logrotate)
md5sums=('1e0912655e240adfd0ce5ced30bbc685'
         'a9bdfd0ac9f29380eafa97a4a056789d')

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=/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 -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy"
}