1 # Contributor: SaThaRiel <sathariel74[at] gmail[dot]com>
2 # Contributor: Ahmed Osman <Ashex@aur>
7 pkgdesc="a platform independent GUI for Apple's iPod using GTK2"
10 url="http://gtkpod.sourceforge.net"
11 depends=('gettext' 'gtk2' 'libgpod-git' 'libid3tag' 'hicolor-icon-theme' 'anjuta')
12 makedepends=('autoconf' 'flex' 'git' 'intltool')
13 optdepends=('libmp4v2: MP4/h264 support' 'libcurl: for coverart download support' 'libgnome-vfs-2.0: for iPod autodetection under GNOME' 'libcurl: for coverart download support' 'libflac: for FLAC support' 'libvorbis: for ogg libvorbis support')
15 install=gtkpod.install
20 _gitroot=git://gtkpod.git.sourceforge.net/gitroot/gtkpod/gtkpod
25 if [ -d $srcdir/$_gitname ]
27 cd $srcdir/$_gitname && git pull
29 cd $srcdir && git clone -b gtk-3.0 $_gitroot && cd $_gitname
32 ./autogen.sh --prefix=/usr
34 make DESTDIR=$pkgdir install || return 1
35 cp $srcdir/$_gitname/src/org.gtkpod.gschema.xml $pkgdir/usr/share/glib-2.0/schemas/
37 rm -rf $srcdir/$_gitname-build