diff options
author | Michael Armbruster | 2020-05-01 21:50:38 +0200 |
---|---|---|
committer | Michael Armbruster | 2020-05-01 21:50:38 +0200 |
commit | 4cb28d802cda5bde715956ca8246273fd9bca398 (patch) | |
tree | bbd0b745e3756c2591daaac3fb1c18fbc203e8b3 | |
parent | 12c1bbb4c5bd47fb84f9962d2ae671646cae79ce (diff) | |
download | aur-4cb28d802cda5bde715956ca8246273fd9bca398.tar.gz |
Use cmake
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,10 +1,11 @@ pkgbase = precomp pkgdesc = Recompressor that further compresses already compressed files pkgver = 0.4.7 - pkgrel = 2 + pkgrel = 3 url = https://github.com/schnaader/precomp-cpp arch = x86_64 license = Apache + makedepends = cmake depends = gcc-libs source = https://github.com/schnaader/precomp-cpp/archive/v0.4.7.tar.gz sha256sums = b4064f9a18b9885e574c274f93d73d8a4e7f2bbd9e959beaa773f2e61292fb2b @@ -3,22 +3,25 @@ pkgname=precomp _gitname=${pkgname}-cpp pkgver=0.4.7 -pkgrel=2 +pkgrel=3 pkgdesc="Recompressor that further compresses already compressed files" arch=('x86_64') url="https://github.com/schnaader/precomp-cpp" license=('Apache') +makedepends=('cmake') depends=('gcc-libs') source=("https://github.com/schnaader/${_gitname}/archive/v${pkgver}.tar.gz") sha256sums=('b4064f9a18b9885e574c274f93d73d8a4e7f2bbd9e959beaa773f2e61292fb2b') build() { cd "${_gitname}-${pkgver}" + cmake -DCMAKE_BUILD_TYPE=Release -Bbuild -H. -G"Unix Makefiles" + cd build make } package() { - cd "${_gitname}-${pkgver}" + cd "${_gitname}-${pkgver}/build" mkdir -p "${pkgdir}/usr/bin" install -m 0755 precomp "${pkgdir}/usr/bin" } |