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/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/tuxcmd-modules/PKGBUILD b/community/tuxcmd-modules/PKGBUILD
new file mode 100644
index 000000000..ea811c041
--- /dev/null
+++ b/community/tuxcmd-modules/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=tuxcmd-modules
+pkgver=0.6.70
+pkgrel=1
+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
+}