Fix building tsocks for 32 bit architectures
[termux-packages] / packages / p7zip / build.sh
index 3ef823f..bde220c 100644 (file)
@@ -1,20 +1,17 @@
+TERMUX_PKG_HOMEPAGE=http://p7zip.sourceforge.net/
+TERMUX_PKG_DESCRIPTION="Command-line version of the 7zip compressed file archiver"
+TERMUX_PKG_MAINTAINER="Francisco Demartino @franciscod"
 # adapted from archlinux PKGBUILD
 pkgname=p7zip
-pkgver=15.09
+pkgver=16.02
 TERMUX_PKG_VERSION=$pkgver
-TERMUX_PKG_HOMEPAGE=http://p7zip.sourceforge.net/
-TERMUX_PKG_DESCRIPTION="Command-line version of the 7zip compressed file archiver"
+TERMUX_PKG_REVISION=1
 TERMUX_PKG_SRCURL="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}_${pkgver}_src_all.tar.bz2"
+TERMUX_PKG_SHA256=5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
 TERMUX_PKG_BUILD_IN_SRC=yes
-TERMUX_PKG_FOLDERNAME=${pkgname}_${pkgver}
 
 termux_step_configure () {
        cp makefile.android_arm makefile.machine
-
-       rm GUI/kde4/p7zip_compress.desktop
-
-       sed -i 's/wx-config/wx-config-2.8/g' CPP/7zip/TEST/TestUI/makefile \
-       CPP/7zip/UI/{FileManager,GUI,P7ZIP}/makefile
 }
 
 termux_step_make () {
@@ -22,5 +19,5 @@ termux_step_make () {
 }
 
 termux_step_make_install () {
-       make install DEST_HOME=$TERMUX_PREFIX
+       make install DEST_HOME=$TERMUX_PREFIX DEST_MAN=$TERMUX_PREFIX/share/man
 }