updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / iceplayer-svn / PKGBUILD
blobd252f393ecd5c4ca9e3e8cde0e26b8153d56a305
1 pkgname=iceplayer-svn
2 pkgver=23
3 pkgrel=1
4 pkgdesc="A simple music player"
5 license=('GPL')
6 arch=('i686' 'x86_64')
7 groups=(multimedia)
8 url="http://iceplayer.googlecode.com"
9 depends=('gstreamer0.10-ffmpeg' 'gstreamer0.10-ugly' 'mpfr' 'glib2' 'wget' 'libnotify')
10 makedepends=('subversion' 'intltool')
12 _svntrunk=http://iceplayer.googlecode.com/svn/trunk/
13 _svnmod=iceplayer
15 build() {
16         cd $srcdir/
17         if [ -d $_svnmod/.svn ]; then
18                 (cd $_svnmod && svn --config-dir ../ up -r $pkgver && cd ..)
19         else
20                 svn --config-dir ./ co $_svntrunk  -r $pkgver $_svnmod
21         fi
23         rm -rf $_svnmod-build
24         cp -r $_svnmod $_svnmod-build
26         cd $_svnmod-build/$_svnmod
27         chmod +x autogen.sh configure
28         ./autogen.sh
29         ./configure --prefix=/usr
30         make
33 package(){
34         cd $_svnmod-build/$_svnmod
35         make DESTDIR="$pkgdir" install
38 # vim:syntax=sh