diff options
-rw-r--r-- | main/p7zip/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/p7zip/APKBUILD b/main/p7zip/APKBUILD index ba42ebc260..8f1a2a55c4 100644 --- a/main/p7zip/APKBUILD +++ b/main/p7zip/APKBUILD @@ -1,27 +1,28 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=p7zip pkgver=9.20.1 -pkgrel=1 +pkgrel=2 pkgdesc="A command-line port of the 7zip compression utility" url="http://p7zip.sourceforge.net" arch="all" -license="GPL" +license="LGPL2+" subpackages="$pkgname-doc" depends= makedepends="bash" #install=p7zip.install source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2 - p7zip-cc-cxx.patch" + p7zip-cc-cxx.patch" +_builddir="$srcdir"/${pkgname}_${pkgver} build() { - cd "$srcdir"/${pkgname}_${pkgver} + cd "$_builddir" patch -p1 -i ../p7zip-cc-cxx.patch || return 1 sed -i "s|usr/local|usr|g" makefile make all3 OPTFLAGS="${CXXFLAGS}" || return 1 } package() { - cd "$srcdir"/${pkgname}_${pkgver} + cd "$_builddir" make install DEST_HOME="$pkgdir"/usr DEST_MAN="$pkgdir"/usr/share/man \ DEST_SHARE_DOC="http://www.bugaco.com/7zip" @@ -33,3 +34,7 @@ package() { md5sums="bd6caaea567dc0d995c990c5cc883c89 p7zip_9.20.1_src_all.tar.bz2 8e8f415267bb5db179e4a8ed75985244 p7zip-cc-cxx.patch" +sha256sums="49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782 p7zip_9.20.1_src_all.tar.bz2 +dc77487a62591a4e5ec4ffd2c6340f124295f3b11e2040455deed37c5723660c p7zip-cc-cxx.patch" +sha512sums="7bb8a276aaefc4a83364e45633c48527de44c6b1205344f3356db570582f30f81d82a94938c99a7ad193587b584cc1c03219c28249de40018bdaee6c3b2a022a p7zip_9.20.1_src_all.tar.bz2 +476f6b5c6b617868afbecc912dcef6bea3dfc7e0476e169bc43d830ef33229bd6895c963f8481f31f897390aa07ed77ec8f02f4e36b2dd8619135d11d28863fa p7zip-cc-cxx.patch" |