summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgustawho2021-01-15 20:16:52 -0700
committergustawho2021-01-15 20:16:52 -0700
commitd5b1dc25d70e22fee71e31236d1f77a9772bc486 (patch)
tree48b0e7c94ac36e57fbb0ebdabd9421a9047b83b0
parent9fe4c51c2589396ff47bdad634dda2b80ef4a6d3 (diff)
downloadaur-d5b1dc25d70e22fee71e31236d1f77a9772bc486.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 763404a57fa..8e619e035cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = qqc2-breeze-style-git
pkgdesc = Breeze inspired QQC2 Style
pkgver = r105.96d00f7
- pkgrel = 2
+ pkgrel = 3
url = https://invent.kde.org/plasma/qqc2-breeze-style
arch = x86_64
arch = armv7
diff --git a/PKGBUILD b/PKGBUILD
index 3bb34eb0b51..3b785472a63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,31 @@
+# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com >
+
pkgname=qqc2-breeze-style-git
-_pkgname=qqc2-breeze-style
pkgver=r105.96d00f7
-pkgrel=2
+pkgrel=3
pkgdesc="Breeze inspired QQC2 Style"
arch=('x86_64' 'armv7' 'aarch64')
url="https://invent.kde.org/plasma/qqc2-breeze-style"
license=('GPL3')
-depends=(qt5-base qt5-declarative qt5-quickcontrols2 kirigami2)
+depends=('qt5-base' 'qt5-declarative' 'qt5-quickcontrols2' 'kirigami2')
makedepends=('git')
-provides=(qqc2-breeze-style)
-conflicts=(qqc2-breeze-style)
-source=("git+$url.git")
+provides=('qqc2-breeze-style')
+conflicts=('qqc2-breeze-style')
+source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
- cd ${_pkgname}
+ cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd ${_pkgname}
+ cd "${pkgname%-git}"
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
make -C build
}
package() {
- cd ${_pkgname}
+ "${pkgname%-git}"
make -C build DESTDIR="${pkgdir}" PREFIX=/usr install
}