summaryrefslogtreecommitdiff
path: root/libre/p7zip-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-31 17:58:59 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-31 17:58:59 -0500
commit24b65bef3e8e0ff2d0704787a295039f2e8e35fd (patch)
treebbeac869f0f40286a4a4c5b24198b8bb38d43946 /libre/p7zip-libre/PKGBUILD
parent639016e3d81574ae482fe96012c8e39012ac0843 (diff)
parent6018f318724745ea2800c629d0db77f19ecbd02b (diff)
downloadabslibre-24b65bef3e8e0ff2d0704787a295039f2e8e35fd.tar.gz
abslibre-24b65bef3e8e0ff2d0704787a295039f2e8e35fd.tar.bz2
abslibre-24b65bef3e8e0ff2d0704787a295039f2e8e35fd.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/p7zip-libre/PKGBUILD')
-rw-r--r--libre/p7zip-libre/PKGBUILD33
1 files changed, 14 insertions, 19 deletions
diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD
index 61d0d5d71..2e6ab6e01 100644
--- a/libre/p7zip-libre/PKGBUILD
+++ b/libre/p7zip-libre/PKGBUILD
@@ -8,25 +8,24 @@
pkgname=p7zip-libre
_pkgname=${pkgname%-libre}
pkgver=9.20.1
-pkgrel=4
+pkgrel=6
pkgdesc='Command-line version of the 7zip compressed file archiver without Rar'
url='http://p7zip.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
-provides=("p7zip=$pkgver" 'unzip')
-conflicts=('p7zip' 'unzip')
-replaces=('p7zip' 'unzip')
+arch=('i686' 'x86_64' 'mips64el')
+provides=("p7zip=$pkgver")
+conflicts=('p7zip')
+replaces=('p7zip')
+depends=('gcc-libs' 'bash')
optdepends=('wxgtk: GUI'
'desktop-file-utils: desktop entries')
makedepends=('yasm' 'nasm' 'wxgtk')
source=("http://repo.parabolagnulinux.org/other/${pkgname}_${pkgver}.tar.bz2"
'p7zip-libre.patch'
- 'unzip' # unzip replacement
'7zFM.desktop')
-md5sums=('c1eaf537e382b93adaa64713c96089fb'
- '5b938c94cf80179137ea560dde510951'
- '371af657bfb81a97bbeb5439896c814a'
- '5b1c13139c42024d73abb67708ab6864')
+sha1sums=('4cffac613e7f3d8fc3c60677491b83a2d5cf16c9'
+ '8fc0e6e80aeec371a8c80e7a6082594ac6d08aed'
+ 'f2c370d6f1b286b7ce9a2804e22541b755616a40')
install=install
mksource() {
@@ -52,11 +51,12 @@ mksource() {
build() {
cd "${srcdir}/${_pkgname}_${pkgver}"
- [[ $CARCH = x86_64 ]] \
- && cp makefile.linux_amd64_asm makefile.machine \
- || cp makefile.linux_x86_asm_gcc_4.X makefile.machine
+ case $CARCH in
+ x86_64) cp makefile.linux_amd64_asm makefile.machine ;;
+ i686) cp makefile.linux_x86_asm_gcc_4.X makefile.machine ;;
+ esac
- make all4 OPTFLAGS="${CXXFLAGS}"
+ make all4 OPTFLAGS="${CXXFLAGS}"
}
package() {
@@ -68,7 +68,6 @@ package() {
DEST_MAN="/usr/share/man"
# Integration with stuff...
- install -D contrib/VirtualFileSystemForMidnightCommander/u7z "${pkgdir}"/usr/lib/mc/extfs.d/u7z
install -D GUI/p7zip_32.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/p7zip.png
install -d "${pkgdir}"/usr/share/{applications,kde4/services/ServiceMenus}
cp GUI/kde4/* "${pkgdir}"/usr/share/kde4/services/ServiceMenus/
@@ -79,8 +78,4 @@ package() {
cp -r GUI/help "${pkgdir}"/usr/lib/p7zip/
chmod -R u+w "${pkgdir}/usr"
-
-# Install unzip replacement script
- install -D -m755 "${srcdir}/unzip" "${pkgdir}/usr/bin/unzip"
}
-