blob: a9d1ebe117618e3845d50b0635c160381daacf61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Artem Vlasenko <artemvlas at proton dot me>
pkgname=qmicroz
pkgver=0.4
pkgrel=1
pkgdesc="C++/Qt wrapper over miniz. Zip/Unzip with Qt."
arch=('x86_64')
url="https://github.com/artemvlas/qmicroz"
license=('MIT')
depends=('qt6-base')
makedepends=('cmake')
source=(https://github.com/artemvlas/qmicroz/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=(5f8f86916402f32d359fc23c9d2133194b9b74511e6ac6afb0041cb4ddeb5af8)
build() {
cd "$pkgname-$pkgver"
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
}
package() {
cd "$pkgname-$pkgver"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd build
make install DESTDIR="${pkgdir}"
}
|