summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-01 06:52:58 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-01 06:52:58 -0300
commit6e1bc3411613e72a07013b0525817c0a9e9ea19b (patch)
tree9843fdec1d26e774f8d010c187a73d8b88fe910a
parent7325c09cacea33ec1d88500469bf460373b39c5f (diff)
p7zip-libre-9.20.1-8: fix FS#37149 => https://bugs.archlinux.org/task/37149
-rw-r--r--libre/p7zip-libre/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD
index fbd189a81..91d6f5345 100644
--- a/libre/p7zip-libre/PKGBUILD
+++ b/libre/p7zip-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 188504 2013-06-15 04:51:48Z bisson $
+# $Id: PKGBUILD 195474 2013-09-30 18:46:35Z bisson $
# Contributor: Thayer Williams <thayer@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: TuxSpirit<tuxspirit@archlinux.fr> 2007/11/17 21:22:36 UTC
@@ -8,7 +8,7 @@
pkgname=p7zip-libre
_pkgname=${pkgname%-libre}
pkgver=9.20.1
-pkgrel=7
+pkgrel=8
pkgdesc='Command-line version of the 7zip compressed file archiver without Rar'
url='http://p7zip.sourceforge.net/'
license=('GPL')
@@ -30,13 +30,16 @@ sha1sums=('1cd567e043ee054bf08244ce15f32cb3258306b7'
options=('!makeflags')
install=install
-build() {
+prepare() {
cd "${srcdir}/${_pkgname}_${pkgver}"
-
+ rm GUI/kde4/p7zip_compress.desktop
[[ $CARCH = x86_64 ]] \
&& cp makefile.linux_amd64_asm makefile.machine \
|| cp makefile.linux_x86_asm_gcc_4.X makefile.machine
+}
+build() {
+ cd "${srcdir}/${pkgname}_${pkgver}"
msg "Removing unRar"
# Generate patch
# sed -e '/Rar/d' -i makefile*
@@ -49,12 +52,16 @@ build() {
package() {
cd "${srcdir}/${_pkgname}_${pkgver}"
-
make install \
DEST_DIR="${pkgdir}" \
DEST_HOME="/usr" \
DEST_MAN="/usr/share/man"
+ # Licenses
+ install -d "${pkgdir}"/usr/share/licenses/p7zip
+ ln -s -t "${pkgdir}"/usr/share/licenses/p7zip \
+ /usr/share/doc/p7zip/DOCS/License.txt
+
# Integration with stuff...
install -Dm644 GUI/p7zip_32.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/p7zip.png
install -d "${pkgdir}"/usr/share/{applications,kde4/services/ServiceMenus}