updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / 9menu / PKGBUILD
blobc1609b8273d69b8bdfc3338c80a89d8f25dc7a8c
1 # Contributor: Niklas Schmuecker (IRC: nisc) <nschmuecker (gmail)>
3 pkgname=9menu
4 pkgver=1.8
5 pkgrel=3
6 pkgdesc='Simple and easily configurable X-menu / program launcher.'
7 arch=('i686 x86_64')
8 license=('custom')
9 url='ftp://freefriends.org/arnold/Source/'
10 depends=('libx11')
11 source=ftp://freefriends.org/arnold/Source/$pkgname-$pkgver.shar.gz
12 md5sums=('3947bbd16be0f3146208fcfbe0146071')
14 build() {
15   sh $pkgname-$pkgver.shar
17   gcc -g -O 9menu.c -lX11 -o 9menu || return 1
19   mkdir -p $startdir/pkg/usr/share/licenses/9menu/
20   tail -n22 $startdir/src/README > \
21             $startdir/pkg/usr/share/licenses/9menu/license.txt
22   install -Dm755 $startdir/src/9menu \
23                  $startdir/pkg/usr/bin/9menu || return 1
24   install -Dm644 $startdir/src/9menu.1 \
25                  $startdir/pkg/usr/share/man/man1/9menu.1 || return 1