[arch-commits] Commit in quazip/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon May 27 16:50:41 UTC 2019


    Date: Monday, May 27, 2019 @ 16:50:40
  Author: arojas
Revision: 354405

Update to 0.8.1

Modified:
  quazip/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 16:46:08 UTC (rev 354404)
+++ PKGBUILD	2019-05-27 16:50:40 UTC (rev 354405)
@@ -4,38 +4,29 @@
 # Contributor: trya <tryagainprod at gmail.com>
 
 pkgname=quazip
-pkgver=0.7.6
+pkgver=0.8.1
 pkgrel=1
 pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
 url="https://stachenov.github.io/quazip/"
-license=('LGPL')
-arch=('x86_64')
-depends=('qt5-base')
-makedepends=('cmake')
-provides=('quazip-qt5')
-source=($pkgname-$pkgver.tar.gz::https://github.com/stachenov/$pkgname/archive/$pkgver.tar.gz)
-sha256sums=('4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70')
+license=(LGPL)
+arch=(x86_64)
+depends=(qt5-base)
+makedepends=(cmake)
+source=($pkgname-$pkgver.tar.gz::https://github.com/stachenov/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('4fda4d4248e08015b5090d0369ef9e68bdc4475aa12494f7c0f6d79e43270d14')
 
 prepare() {
-  # Fix cmake module install dir
-  sed -e 's|${CMAKE_ROOT}/Modules|${CMAKE_INSTALL_PREFIX}/lib/cmake/QuaZip|' -i $pkgname-$pkgver/CMakeLists.txt
+  mkdir -p build
 }
 
 build() {
-  cd "${srcdir}"
-
-  install -d build
   cd build
   cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_WITH_QT4:BOOL=OFF \
-    -DCMAKE_CXX_FLAGS="$CFLAGS -fPIC"
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd "${srcdir}"
-
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list