summaryrefslogtreecommitdiff
path: root/community/tuxcmd-modules/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tuxcmd-modules/PKGBUILD')
-rw-r--r--community/tuxcmd-modules/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/tuxcmd-modules/PKGBUILD b/community/tuxcmd-modules/PKGBUILD
new file mode 100644
index 000000000..39a8b5dd2
--- /dev/null
+++ b/community/tuxcmd-modules/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 67804 2012-03-14 13:37:17Z giovanni $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=tuxcmd-modules
+pkgver=0.6.70
+pkgrel=2
+pkgdesc='Modules for Tux Commander'
+arch=('i686' 'x86_64')
+url='http://tuxcmd.sourceforge.net/'
+license=('GPL')
+depends=('tuxcmd')
+makedepends=('sharutils')
+optdepends=('gvfs: for gvfs module')
+options=('!docs' '!emptydirs')
+source=("http://downloads.sourceforge.net/project/tuxcmd/tuxcmd/tuxcmd-dev-${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('e3e2471f6f245d3191e9a845c73518ff')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # fix Makefiles
+ sed -i 's|$(INSTALL) \(.*\) $(DESTDIR)/lib$(LIB_SUFFIX)/tuxcmd/|$(INSTALL) -D \1 $(DESTDIR)/lib/tuxcmd/\1|' */Makefile
+
+ make -j1
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir}/usr install
+}