diff --git a/extra/p7zip/PKGBUILD b/extra/p7zip/PKGBUILD index f08fe563e..470ea1312 100644 --- a/extra/p7zip/PKGBUILD +++ b/extra/p7zip/PKGBUILD @@ -28,7 +28,7 @@ sha1sums=('1cd567e043ee054bf08244ce15f32cb3258306b7' install=install -package() { +prepare() { cd "${srcdir}/${pkgname}_${pkgver}" rm GUI/kde4/p7zip_compress.desktop CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O0/'` && CXXFLAGS="$CFLAGS"