extra/p7zip to 9.20.1-8

This commit is contained in:
WarheadsSE 2013-09-30 21:03:17 -04:00
parent 7adc6ade8a
commit 94f535fb6a

View file

@ -11,7 +11,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')
@ -28,18 +28,20 @@ sha1sums=('1cd567e043ee054bf08244ce15f32cb3258306b7'
install=install
build() {
package() {
cd "${srcdir}/${pkgname}_${pkgver}"
rm GUI/kde4/p7zip_compress.desktop
CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O0/'` && CXXFLAGS="$CFLAGS"
cp makefile.linux_any_cpu makefile.machine
}
build() {
cd "${srcdir}/${pkgname}_${pkgver}"
make all4 OPTFLAGS="${CXXFLAGS}"
}
package() {
cd "${srcdir}/${pkgname}_${pkgver}"
make install \
DEST_DIR="${pkgdir}" \
DEST_HOME="/usr" \