Date: Monday, September 30, 2013 @ 20:46:35 Author: bisson Revision: 195474
fix FS#37149 Modified: p7zip/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-09-30 17:55:21 UTC (rev 195473) +++ PKGBUILD 2013-09-30 18:46:35 UTC (rev 195474) @@ -7,7 +7,7 @@ pkgname=p7zip pkgver=9.20.1 -pkgrel=7 +pkgrel=8 pkgdesc='Command-line version of the 7zip compressed file archiver' url='http://p7zip.sourceforge.net/' license=('GPL' 'custom') @@ -24,19 +24,21 @@ 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}" make all4 OPTFLAGS="${CXXFLAGS}" } package() { cd "${srcdir}/${pkgname}_${pkgver}" - make install \ DEST_DIR="${pkgdir}" \ DEST_HOME="/usr" \
