blob: 69522808acc1b6f890d9f204365d0fe9899bdbb0 (
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
27
28
29
30
31
32
33
34
|
# Maintainer: Ian D. Scott <ian@perebruin.com>
pkgname=pianod
pkgver=175
pkgrel=1
pkgdesc="Pandora Client Daemon"
url="http://deviousfish.com/pianod/"
arch=('x86_64' 'i686')
license=('mit')
depends=('mksh' 'libao' 'libgcrypt' 'gnutls' 'json-c' 'faad2' 'libmad')
source=("http://deviousfish.com/Downloads/pianod/${pkgname}-${pkgver}.tar.gz" )
md5sums=('6d0e460b3dcb0bbc68bdd58631f02afa')
backup=('etc/pianod.startscript' 'etc/pianod.env')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}/contrib"
sed -i 's|/bin/ksh|/bin/mksh|' piano runmix
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -Dm644 contrib/pianod.service "$pkgdir/usr/lib/systemd/system/pianod.service"
install -Dm644 contrib/pianod.env "$pkgdir/etc/pianod.env"
install -Dm644 contrib/startscript-example "$pkgdir/etc/pianod.startscript"
}
# vim:set ts=2 sw=2 et:
|