updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / shoutcast2 / PKGBUILD
blob038a78220e95b286b4386d6487ef07c3afa55460
1 pkgname=shoutcast2
2 pkgver=0
3 pkgrel=0
4 pkgdesc="Nullsoft SHOUTcast Server"
5 arch=('x86_64')
6 url="http://www.shoutcast.com"
7 license=('custom')
8 depends=(gcc-multilib)
9 options=()
11 #md5sums=(72f9f5ec8d680bff60ba47dd21b0fe4a)
12 #source=(http://yp.shoutcast.com/downloads/sc1-9-8/sc_serv_1.9.8_Linux.tar.gz)
13 source=http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64_07_31_2011.tar.gz
14 md5sums=('b355e7570f33e380e6cf729eabeb92c5')
16 build() {
17   cd $startdir/src
18   install -d $startdir/pkg/usr/bin
19   install -m 755 sc_serv $startdir/pkg/usr/bin/shoutcast
20   install -d $startdir/pkg/etc
21   install -m 644 sc_serv_simple.conf $startdir/pkg/etc/sc_serv.conf
22   mkdir -p $startdir/pkg/usr/doc
24     cp     'sc_serv_basic.conf' $startdir/pkg/etc/
25     cp     'sc_serv_debug.conf' $startdir/pkg/etc/
26     cp     'sc_serv_public.conf' $startdir/pkg/etc/
27     cp     'sc_serv_relay.conf' $startdir/pkg/etc/
28     cp     'sc_serv_simple.conf' $startdir/pkg/etc/
30     cp     -bR   'docs' $startdir/pkg/usr/doc/shoutcast
31     cp     -bR   'config_builder' $startdir/pkg/usr/bin/