aboutsummaryrefslogtreecommitdiffstats
path: root/main/p7zip/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-10 08:35:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-10 08:35:14 +0000
commitbf988ba9b1b17693a8b776935fb8c2ca35c57510 (patch)
treef56c08cb112fd5a2738351c07aa4f60ee9f956d0 /main/p7zip/APKBUILD
parentdee1e2c8f480c421cdd878a2ee5d27d08b58a2da (diff)
downloadaports-bf988ba9b1b17693a8b776935fb8c2ca35c57510.tar.bz2
aports-bf988ba9b1b17693a8b776935fb8c2ca35c57510.tar.xz
main/p7zip: upgrade to 9.04
Diffstat (limited to 'main/p7zip/APKBUILD')
-rw-r--r--main/p7zip/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/main/p7zip/APKBUILD b/main/p7zip/APKBUILD
index 38d6760282..b022e17baf 100644
--- a/main/p7zip/APKBUILD
+++ b/main/p7zip/APKBUILD
@@ -1,36 +1,36 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=p7zip
-pkgver=4.65
+pkgver=9.04
pkgrel=0
pkgdesc="A command-line port of the 7zip compression utility"
url="http://p7zip.sourceforge.net"
license="GPL"
subpackages="$pkgname-doc"
-depends="uclibc uclibc++ libgcc"
+depends=
makedepends="bash uclibc++-dev"
#install=p7zip.install
source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2
p7zip-cc-cxx.patch"
-build ()
-{
+build() {
cd "$srcdir"/${pkgname}_${pkgver}
patch -p1 -i ../p7zip-cc-cxx.patch || return 1
sed -i "s|usr/local|usr|g" makefile
export CXX=${UC_CXX:-g++-uc}
make all3 OPTFLAGS="${CXXFLAGS}" || return 1
+}
+
+package() {
+ cd "$srcdir"/${pkgname}_${pkgver}
make install DEST_HOME="$pkgdir"/usr DEST_MAN="$pkgdir"/usr/share/man \
DEST_SHARE_DOC="http://www.bugaco.com/7zip"
-# echo "creating dir"
-# mkdir -p "$pkgdir"/usr/share/doc/p7zip/DOCS
-# install -m555 bin/7z.so "$pkgdir"/usr/lib/p7zip/
sed -i "s|"$pkgdir"/usr|/usr|g" "$pkgdir"/usr/bin/7z
sed -i "s|"$pkgdir"/usr|/usr|g" "$pkgdir"/usr/bin/7za
sed -i "s|"$pkgdir"/usr|/usr|g" "$pkgdir"/usr/bin/7zr
# install -m755 -D contrib/VirtualFileSystemForMidnightCommander/u7z "$pkgdir"/usr/share/mc/extfs/u7z
}
-md5sums="f78ed232436dc8f8be25a2f95d4e5f9a p7zip_4.65_src_all.tar.bz2
+md5sums="9194ebf9a2b3735d236aed001de5f6f8 p7zip_9.04_src_all.tar.bz2
8e8f415267bb5db179e4a8ed75985244 p7zip-cc-cxx.patch"