summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c50f201d298ac23391d6dcc91f7130803f107c3 (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
# Maintainer: Joseph Lansdowne <J49137@gmail.com>
pkgname=jsession
pkgver=0.3.1
pkgrel=1
pkgdesc="Simple X session manager"
arch=(any)
url=http://ikn.org.uk/jsession
license=(BSD)
depends=(bash grep dbus run-parts)
backup=(etc/jsession/conf etc/jsession/init)
source=(http://ikn.org.uk/files/desktop/$pkgname/$pkgname-$pkgver.tar.gz)
sha1sums=('ebb4e26e1ac7146b2c5c2f313427155debb2bd33')

build () {
    cd "$srcdir/$pkgname-$pkgver"
    make
}

package () {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" prefix=/usr install
    touch "$pkgdir/etc/jsession/init"
    install -D LICENSE "$pkgdir"/usr/share/licenses/jsession/LICENSE
}