upgpkg: p7zip 9.38.1-1

This commit is contained in:
Felix Yan
2015-08-05 23:46:37 +08:00
parent 80e90a0b67
commit d1d69b3954

View File

@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=p7zip
pkgver=9.38
pkgver=9.38.1
pkgrel=1
pkgdesc='Command-line version of the 7zip compressed file archiver'
url='http://p7zip.sourceforge.net/'
@@ -17,7 +17,7 @@ source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver
03_respect-umask-partial_9.20.1.patch
10-const-ref-init.patch
p7zip-9.20.1-1.src.patch)
sha1sums=('ae7f483799ca463aa5f0a856491a3410907348ed'
sha1sums=('6b1eccf272d8b141a94758f80727ae633568ba69'
'd59132544520e57647a6267e0777422bd305594f'
'd071a69f00886d56e6546257715c9201547d4709'
'b0ba244d6e59e348b0bc809e7ec2da1178c58744'
@@ -38,6 +38,8 @@ prepare() {
[[ $CARCH = x86_64 ]] \
&& cp makefile.cygwin makefile.machine \
|| cp makefile.cygwin_asm makefile.machine
rm GUI/kde4/p7zip_compress.desktop # FS#43766
}
build() {
@@ -80,5 +82,5 @@ package() {
install -Dm755 contrib/gzip-like_CLI_wrapper_for_7z/p7zip ${pkgdir}/usr/bin/p7zip
install -Dm644 contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1 ${pkgdir}/usr/share/man/man1/p7zip.1
chmod -R u+w "${pkgdir}/usr"
chmod -R a+r,u+w,a+X "${pkgdir}/usr"
}