Browse Source

[trunk] -> [testing] 'archlinux-mirrorlist-20200411-1' add

master
artoo 2 years ago committed by alium
parent
commit
1e3aa1d30e
  1. 37
      repos/extra-x86_64/PKGBUILD
  2. 37
      trunk/PKGBUILD

37
repos/extra-x86_64/PKGBUILD

@ -1,36 +1,41 @@
# $Id$
# Maintainer: Rémy Oudompheng <remy@archlinux.org>
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=zziplib
pkgver=0.13.69
pkgver=0.13.70
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')
url="http://zziplib.sourceforge.net"
license=('LGPL' 'MPL')
depends=('zlib')
makedepends=('python2' 'xmlto' 'zip')
source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz")
sha256sums=('846246d7cdeee405d8d21e2922c6e97f55f24ecbe3b6dcf5778073a88f120544')
sha512sums=('ade026289737f43ca92a8746818d87dd7618d473dbce159546ce9071c9e4cbe164a6b1c9efff16efb7aa0327b2ec6b34f3256c6bda19cd6e325703fffc810ef0')
makedepends=('python' 'xmlto' 'zip' 'cmake')
source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz"
https://github.com/gdraheim/zziplib/commit/a46ac9630a46093eda88540a8ec705e6f53bcc4f.patch)
sha256sums=('a1457262d7a237dc50ce1f98ca57242bc714055ff81146f419ee53cdea1bf029'
'6f24e770f858223f8321cc2a2df9fdab570290ac1a1279b6937988a0b460bca1')
sha512sums=('5e6bed4993cac880063a64b56db42f362898434e9c61916747377440f1325f649c086a3c1beeb05fb647b4f8af3fcb0407b087fc23604cd73fdd2373f132e9a5'
'3e2e55bb7af0160dd0b1f0f10b9c41fbe68107c00a42bd6ab19a1a9b640371c751f5fc562f832668ba09b5cfc180b099e361c3747b0e22e80b496bff4f956b11')
build() {
prepare() {
cd ${pkgname}-${pkgver}
export PYTHON=/usr/bin/python2
./configure --prefix=/usr
patch -Np1 -i "${srcdir}"/a46ac9630a46093eda88540a8ec705e6f53bcc4f.patch
mkdir build
}
build() {
cd ${pkgname}-${pkgver}/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd ${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
# fix permissions
chmod -s "${pkgdir}/usr/share/man/man3"
# chmod 644 "${pkgdir}"/usr/share/man/man3/*
chown -R root:root "${pkgdir}/usr/share/man/man3"
}
# vim: set ts=2 sw=2 et:

37
trunk/PKGBUILD

@ -1,36 +1,41 @@
# $Id$
# Maintainer: Rémy Oudompheng <remy@archlinux.org>
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=zziplib
pkgver=0.13.69
pkgver=0.13.70
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')
url="http://zziplib.sourceforge.net"
license=('LGPL' 'MPL')
depends=('zlib')
makedepends=('python2' 'xmlto' 'zip')
source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz")
sha256sums=('846246d7cdeee405d8d21e2922c6e97f55f24ecbe3b6dcf5778073a88f120544')
sha512sums=('ade026289737f43ca92a8746818d87dd7618d473dbce159546ce9071c9e4cbe164a6b1c9efff16efb7aa0327b2ec6b34f3256c6bda19cd6e325703fffc810ef0')
makedepends=('python' 'xmlto' 'zip' 'cmake')
source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz"
https://github.com/gdraheim/zziplib/commit/a46ac9630a46093eda88540a8ec705e6f53bcc4f.patch)
sha256sums=('a1457262d7a237dc50ce1f98ca57242bc714055ff81146f419ee53cdea1bf029'
'6f24e770f858223f8321cc2a2df9fdab570290ac1a1279b6937988a0b460bca1')
sha512sums=('5e6bed4993cac880063a64b56db42f362898434e9c61916747377440f1325f649c086a3c1beeb05fb647b4f8af3fcb0407b087fc23604cd73fdd2373f132e9a5'
'3e2e55bb7af0160dd0b1f0f10b9c41fbe68107c00a42bd6ab19a1a9b640371c751f5fc562f832668ba09b5cfc180b099e361c3747b0e22e80b496bff4f956b11')
build() {
prepare() {
cd ${pkgname}-${pkgver}
export PYTHON=/usr/bin/python2
./configure --prefix=/usr
patch -Np1 -i "${srcdir}"/a46ac9630a46093eda88540a8ec705e6f53bcc4f.patch
mkdir build
}
build() {
cd ${pkgname}-${pkgver}/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd ${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
# fix permissions
chmod -s "${pkgdir}/usr/share/man/man3"
# chmod 644 "${pkgdir}"/usr/share/man/man3/*
chown -R root:root "${pkgdir}/usr/share/man/man3"
}
# vim: set ts=2 sw=2 et:

Loading…
Cancel
Save