2 # Contributor: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
4 _pkgname=thunar-media-tags-plugin
5 pkgname=${_pkgname}-git
8 pkgdesc="create and deflate archives in thunar"
11 url="http://www.xfce.org"
13 depends=('thunar-git' 'taglib')
14 makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools-git')
15 provides=("${_pkgname}")
20 _gitroot="git://git.xfce.org/thunar-plugins/$_pkgname"
22 _gitbranch="thunarx-2"
27 msg "Getting sources..."
29 if [ -d "$srcdir/$_gitname" ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot -b $_gitbranch
36 msg "GIT checkout done or server timeout"
37 msg "Starting build..."
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
43 --localstatedir=/var --disable-static --enable-debug=minimum \
44 --enable-maintainer-mode || return 1
47 make DESTDIR=${startdir}/pkg install || return 1