updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / jsession / PKGBUILD
blobfce87a138615ce80a26041d4bfdd85410d3d9e2f
1 # Maintainer: J <J49137@gmail.com>
2 pkgname=jsession
3 pkgver=0.2.3
4 pkgrel=2
5 pkgdesc="Simple X session manager"
6 arch=(any)
7 url=http://i-know-nothing.co.cc/jsession
8 license=(GPL3)
9 depends=(bash grep sysvinit dbus run-parts)
10 optdepends=("pm-utils: suspend support")
11 backup=(etc/jsession/conf etc/jsession/init etc/jsession/noinit)
12 source=(http://i-know-nothing.co.cc/files/desktop/$pkgname/$pkgname-$pkgver.tar.gz \
13         jsessiond)
14 md5sums=(6e0ba7a3fb54260d71de37410f9beee8 a7a282b94b58a4c367dcbaaffcbe0bd1)
16 build () {
17     cd "$srcdir/$pkgname-$pkgver"
18     make
21 package () {
22     cd "$srcdir/$pkgname-$pkgver"
23     make DESTDIR="$pkgdir" install
24     cd "$srcdir"
25     mkdir -p "$pkgdir/etc/rc.d"
26     cp jsessiond "$pkgdir/etc/rc.d"
27     touch "$pkgdir/etc/jsession/init" "$pkgdir/etc/jsession/noinit"