1 # Contributor: 4javier <4javier4@gmail.com>
2 pkgname=thunar-actions-plugin-git
5 pkgdesc="Git version of Thunar contestual menu plugin."
7 url="http://goodies.xfce.org/projects/thunar-plugins/thunar-actions-plugin/"
10 makedepends=(gcc git xfce4-dev-tools)
11 provides=(thunar-actions-plugin)
12 conflicts=(thunar-actions-plugin)
16 _gittrunk=git://git.xfce.org/thunar-plugins/thunar-actions-plugin
17 _gitmod=thunar-actions-plugin
23 if [ -d ${srcdir}/$_gitmod ]; then
24 if (cd $_gitmod && git pull origin) |
25 grep 'Already up-to-date'; then
26 msg "No need to rebuild";
29 msg "Local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 cp -r $_gitmod $_gitmod-build
38 cd ${srcdir}/$_gitmod-build
40 ./autogen.sh --prefix=$(pkg-config --variable prefix thunarx-1)
42 make DESTDIR="$pkgdir" install
44 rm -rf ${srcdir}/$_gitmod-build