initial import
This commit is contained in:
26
quazip/PKGBUILD
Normal file
26
quazip/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=quazip
|
||||
pkgver=1.1
|
||||
pkgrel=2
|
||||
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
||||
url='https://stachenov.github.io/quazip/'
|
||||
license=('LGPL-2.1')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('qt-base')
|
||||
makedepends=('cmake')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stachenov/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('418516759e993c2e5636422c6a14e2caf95f836698b91d2188df5ef9b97879ee326255273793fc802325e14f378cbe2baad7e6ec2e1732e19bf238f70891f22c')
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-B build \
|
||||
-S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 $srcdir/$pkgname-$pkgver/COPYING -t $pkgdir/usr/share/licenses/$pkgname/
|
||||
}
|
||||
Reference in New Issue
Block a user