summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e488b82e8a71cc5fdb3f718918091e8389695a2c (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
# Maintainer: Fabian Hirschmann <fabian@hirschmann.email>
pkgname=sleeptimer
pkgver=0.4.2
pkgrel=3
pkgdesc="Simple single button lirc-aware shut down timer with an OSD"
arch=('i686' 'x86_64')
url="http://www.github.com/fhirschmann/sleeptimer/"
license=('GPL3')
depends=('xosd' 'gettext')
optdepends=('lirc: remote control support')
makedepends=('make' 'autoconf' 'help2man')
source=("https://github.com/fhirschmann/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('9be1c0854294754cd5ae5075eac78a63')

build() {
	cd "$pkgname-$pkgver"
	./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}