[arch-commits] Commit in quazip/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon May 27 16:46:09 UTC 2019


    Date: Monday, May 27, 2019 @ 16:46:08
  Author: arojas
Revision: 354404

archrelease: copy trunk to extra-x86_64

Added:
  quazip/repos/extra-x86_64/
  quazip/repos/extra-x86_64/PKGBUILD
    (from rev 354403, quazip/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: quazip/repos/extra-x86_64/PKGBUILD (from rev 354403, quazip/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2019-05-27 16:46:08 UTC (rev 354404)
@@ -0,0 +1,41 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: trya <tryagainprod at gmail.com>
+
+pkgname=quazip
+pkgver=0.7.6
+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')
+
+prepare() {
+  # Fix cmake module install dir
+  sed -e 's|${CMAKE_ROOT}/Modules|${CMAKE_INSTALL_PREFIX}/lib/cmake/QuaZip|' -i $pkgname-$pkgver/CMakeLists.txt
+}
+
+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"
+  make
+}
+
+package() {
+  cd "${srcdir}"
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list