mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/p7zip to 9.20.1-8
This commit is contained in:
parent
7adc6ade8a
commit
94f535fb6a
1 changed files with 6 additions and 4 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue