updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ccxstream / PKGBUILD
blobb33ed6ab878471ed044f561ac8dd10ca0fb89bf4
1 # Maintainer: Edward Tjörnhammar <xhemi@cube2.se>
2 # Contributor: Edward Tjörnhammar <xhemi@cube2.se>
3 # Additional contributor: Christoph Neuroth <delmonico@gmx.net>
4 # Additional contributor: Marcus Hermansson <mashnu@gmail.com> 
6 pkgname=ccxstream
7 pkgver=1.0.15
8 pkgrel=3
9 pkgdesc="XBMSP server by PuhPuh"
10 arch=('i686' 'x86_64')
11 url="https://sourceforge.net/project/shownotes.php?release_id=191191&group_id=87054"
12 source=("http://heanet.dl.sourceforge.net/sourceforge/xbmc/$pkgname-$pkgver.tar.gz")
13 license=('unknown')
14 depends=('termcap-compat')
15 md5sums=('c589fff48ce541f26b394c9d82ccbead')
17 build() {
18   _S=$startdir/src/$pkgname-$pkgver
19   _D=$startdir/pkg
20   pushd $_S
21   make ccxstream || return 1
22   mkdir -p $_D/{usr,etc} || return 1
23   mkdir -p $_D/etc/{conf.d,rc.d} || return 1
24   mkdir -p $_D/usr/bin || return 1
25   
26   install -m0755 ccxstream $_D/usr/bin/. || return 1
27   popd
28   install -m0644 $startdir/$pkgname.cf $_D/etc/conf.d/ccxstream || return 1
29   install -m0775 $startdir/$pkgname.rc $_D/etc/rc.d/ccxstream || return 1
30