updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / blinkd / PKGBUILD
blobd8c3a785a4649cf6d245b0e307f34fd5f1892ba8
1 pkgname=blinkd
2 pkgver=0.4.7
3 pkgrel=1
4 pkgdesc="A client/server pair that lets the keyboard LEDs blink."
5 arch=(i686 x86_64)
6 url="http://www.nongnu.org/blinkd/"
7 license=('GNU')
8 install=${pkgname}.install
9 source=(http://archive.ubuntu.com/ubuntu/pool/universe/b/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
10 md5sums=('ac938c627238e821112d945adac9979e')
13 build() {
14   cd $startdir/src/${pkgname}-${pkgver}
15   ./configure
16   make || return 1
17   mkdir -p "$pkgdir/usr/bin"
18   mkdir -p "$pkgdir/usr/sbin"
19   mkdir -p "$pkgdir/usr/share/doc/blinkd"
20   mkdir -p "$pkgdir/usr/share/man/man1"
21   mkdir -p "$pkgdir/usr/share/man/man8"
22   install -D $srcdir/${pkgname}-${pkgver}/blink $pkgdir/usr/bin/
23   install -D $srcdir/${pkgname}-${pkgver}/blinkd $pkgdir/usr/sbin/
24   install -D $srcdir/${pkgname}-${pkgver}/README NEWS COPYNG ChangeLog AUTHORS examples $pkgdir/usr/share/doc/blinkd/
25   install -D $srcdir/${pkgname}-${pkgver}/blink.1 $pkgdir/usr/share/man/man1/
26   install -D $srcdir/${pkgname}-${pkgver}/blinkd.8 $pkgdir/usr/share/man/man8/