1 # Contributor: Murtuza Akhtari <inxsible at gmail com>
2 # Contriburor: Andrea Scarpino <bash.lnx@gmail.com>
7 pkgdesc="A curses front-end for various audio players."
9 url="http://mask.tf.hut.fi/~flu/cplay/"
11 depends=('ncurses' 'python')
12 backup=('etc/cplayrc')
14 source=(http://ftp.de.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
15 md5sums=('fae9e13b8dafd98ffcd58cf9d6f92f33')
18 cd $startdir/src/$pkgname-$pkgver
19 mkdir -p $startdir/pkg/usr/{bin,share/man/man1}
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