diff options
author | gustawho | 2021-03-08 16:58:29 -0700 |
---|---|---|
committer | gustawho | 2021-03-08 16:58:29 -0700 |
commit | e937f108443298813dbb95f9797c6101ff3b22c9 (patch) | |
tree | aa55fa36fcfabb6de72bb8a15416bc68d0324a41 | |
parent | ddd8917f4fdca1d9f9282e3f4681c20bb9588eca (diff) | |
download | aur-e937f108443298813dbb95f9797c6101ff3b22c9.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 5 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = kweather-git pkgdesc = Weather application for Plasma Mobile - pkgver = v0.2.r30.g1f0a79b + pkgver = 0.4.r39.g19bcec1 pkgrel = 1 url = https://invent.kde.org/plasma-mobile/kweather arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > pkgname=kweather-git -pkgver=v0.2.r30.g1f0a79b +pkgver=0.4.r39.g19bcec1 pkgrel=1 pkgdesc="Weather application for Plasma Mobile" arch=(x86_64) @@ -22,18 +22,11 @@ pkgver() { ) } -prepare() { - cd "${pkgname%-git}" - install -d build -} - build() { - cd "${pkgname%-git}/build" - cmake .. - make + cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S "${pkgname%-git}" + make -C build } package() { - cd "${pkgname%-git}/build" - make DESTDIR="$pkgdir" install + make -C build DESTDIR="${pkgdir}" PREFIX=/usr install } |