1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <youremail@domain.com>
7 pkgname=gmpc-exiftool-git
10 pkgdesc="Exif plugin for gmpc."
12 url="http://gmpc.wikia.com/"
15 depends=(perl perl-exiftool gmpc)
17 #source=($pkgname-$pkgver.tar.gz)
19 #md5sums=() #generate with 'makepkg -g'
21 _gitroot="http://git.musicpd.org/cgit/qball/gmpc-exiftool.git/"
22 _gitname="gmpc-exiftool"
26 msg "Connecting to $_gitroot server..."
28 if [ -d $startdir/src/$_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
39 cd $startdir/src/$_gitname-build
41 ./autogen.sh --prefix=/usr
43 make DESTDIR=$startdir/pkg install
47 # vim:set ts=2 sw=2 et: