updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / cplay / PKGBUILD
blob3cf27751073ac97f8be494d2e0a9179ab749f3c9
1 # Contributor: Murtuza Akhtari <inxsible at gmail com>
2 # Contriburor: Andrea Scarpino <bash.lnx@gmail.com>
4 pkgname=cplay
5 pkgver=1.49
6 pkgrel=3
7 pkgdesc="A curses front-end for various audio players."
8 arch=('i686' 'x86_64')
9 url="http://mask.tf.hut.fi/~flu/cplay/"
10 license=('GPL2')
11 depends=('ncurses' 'python')
12 backup=('etc/cplayrc')
13 install=cplay.install
14 source=(http://ftp.de.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
15 md5sums=('fae9e13b8dafd98ffcd58cf9d6f92f33')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   mkdir -p $startdir/pkg/usr/{bin,share/man/man1}
20   make || return 1
21   make cplayrc || return 1
22   sed -i 's|$(PREFIX)/man/man1|$(PREFIX)/share/man/man1|' Makefile
23   install -D -m644 cplayrc $startdir/pkg/etc/cplayrc
24   make PREFIX=$startdir/pkg/usr install