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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Jan 6 22:36:00 UTC 2021


    Date: Wednesday, January 6, 2021 @ 22:36:00
  Author: svenstaro
Revision: 405412

upgpkg: zziplib 0.13.72-1

Modified:
  zziplib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-06 21:13:08 UTC (rev 405411)
+++ PKGBUILD	2021-01-06 22:36:00 UTC (rev 405412)
@@ -4,7 +4,7 @@
 # Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
 
 pkgname=zziplib
-pkgver=0.13.71
+pkgver=0.13.72
 pkgrel=1
 pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file"
 arch=('x86_64')
@@ -13,46 +13,27 @@
 depends=('zlib')
 makedepends=('python' 'xmlto' 'zip' 'cmake' 'ninja')
 checkdepends=('unzip')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz"
-        https://github.com/gdraheim/zziplib/commit/75e22f3c365b62acbad8d8645d5404242800dfba.patch
-        https://patch-diff.githubusercontent.com/raw/gdraheim/zziplib/pull/89.patch)
-sha256sums=('2ee1e0fbbb78ec7cc46bde5b62857bc51f8d665dd265577cf93584344b8b9de2'
-            '5a5ceed4a9a5c22a72b7a06bab2f43701b775202a93b13f393b1fc3c8f708b1c'
-            'a9e908938e07394158f4ea7e57cde6241bbab7949ec752cbedaf951b7acbc0c0')
-sha512sums=('e035d0ac26dca78335ae3defc652543ff7b353a1a95d76ed1beeb21a08e16f287a62d488f528cfbb77d5b558581b68d439aa0823577524e9aa61a3cf5f208cb5'
-            '5fc25cb0663f40a7338a44219793c5d9e1f58fbf3f613aa1f89d925812e13b75c1db5e1a7709edc042c89e3717d5947d38c4ca1fae0c037f776ce656c2e57833'
-            'e3a805dc8a812f45fb0dbcb2aeee44ac7f94f99bf888997bcf188f898fba3ea81441875ececbe460edc8ded0b79a9584a83735876d60a88083ac7d2a1541896a')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz")
+sha512sums=('4bb089e74813c6fac9657cd96e44e4a6469bf86aba3980d885c4573e8db45e74fd07bbdfcec9f36297c72227c8c0b2c37dab1bc4326cef8529960e482fe501c8')
 
-prepare() {
+build() {
   cd ${pkgname}-${pkgver}
-
-  patch -Np1 -i "${srcdir}/75e22f3c365b62acbad8d8645d5404242800dfba.patch"
-  patch -Np1 -i "${srcdir}/89.patch"
-
-  mkdir build
-}
-
-build() {
-  cd ${pkgname}-${pkgver}/build
-  cmake .. \
+  cmake \
+    -Bbuild \
     -GNinja \
     -DZZIPDOCS=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr
-  ninja
+  ninja -C build
 }
 
 check() {
-  cd ${pkgname}-${pkgver}/build
-  ninja check
+  cd ${pkgname}-${pkgver}
+  ninja -C build check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}/build
-  DESTDIR="${pkgdir}" ninja install
-
-  # Fix permissions
-  # chmod 644 "${pkgdir}/usr/share/man/man3/"*
-  # chown -R root:root "${pkgdir}/usr/share/man/man3"
+  cd ${pkgname}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
 }
 
 # vim: set ts=2 sw=2 et:



More information about the arch-commits mailing list