summaryrefslogtreecommitdiff
path: root/community/enter/PKGBUILD
blob: e33389d06de7934f4050cedc256c993930ef1b38 (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
# $Id: PKGBUILD 59871 2011-12-01 13:33:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>

pkgname=enter
pkgver=0.0.9
pkgrel=3
pkgdesc="Enter is a lightweight graphical login manager for X."
arch=('i686' 'x86_64' 'mips64el')
url="http://enter.sf.net"
license=('GPL')
depends=('libxft' 'imlib2' 'xorg-server')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
	enter-0.0.9-X11_Xext.patch)
md5sums=('47a77ae57e667f887f856c0a126d667a'
	 '7e7dee216860d11833706b70b17b6905')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i ${srcdir}/enter-0.0.9-X11_Xext.patch
  sed -i 's|\[xft-config\]|\[pkg-config\]|' configure.ac
  autoreconf
  ./configure --prefix=/usr --sysconfdir=/etc CFLAGS="$CFLAGS -lcrypt"
  make
  make DESTDIR=$pkgdir install
}