updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / gmtk-svn / PKGBUILD
blobb0e6653b18bbf924c6def4502692d8c777d623d2
1 pkgname=gmtk-svn
2 pkgver=65
3 pkgrel=1
4 pkgdesc='Gnome MPlayer support library'
5 arch=('i686' 'x86_64')
6 url='http://gmtk.googlecode.com/'
7 license=('GPL')
8 depends=('dconf' 'fontconfig' 'pulseaudio')
9 makedepends=('subversion')
10 provides=('gmtk')
12 _svntrunk=http://gmtk.googlecode.com/svn/trunk
13 _svnmod=gmtk-read-only
15 build() {
16 cd "${srcdir}"
18 msg2 "Checking out the repository..."
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
21 else
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg2 "SVN checkout done or server timeout."
27 rm -rf "$srcdir/$_svnmod-build"
28 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
29 cd "$srcdir/$_svnmod-build"
31 msg2 "Configuring..."
32 ./autogen.sh --prefix=/usr --sysconfdir=/etc --with-pulseaudio
33 msg2 "Building..."
34 make
37 package() {
38 cd "$srcdir/$_svnmod-build"
40 make DESTDIR="$pkgdir/" install