summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgustawho2021-01-15 14:32:21 -0700
committergustawho2021-01-15 14:32:21 -0700
commitf8596cbd6aaa48bf82d95decb05fb83adc2392bc (patch)
tree21d93b97b8467214687272dee6381af44ade50b4
downloadaur-f8596cbd6aaa48bf82d95decb05fb83adc2392bc.tar.gz
Package added
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD30
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..162349247f2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = qqc2-breeze-style-git
+ pkgdesc = Breeze inspired QQC2 Style
+ pkgver = r105.96d00f7
+ pkgrel = 1
+ url = https://invent.kde.org/plasma/qqc2-breeze-style
+ arch = x86_64
+ arch = armv7
+ arch = aarch64
+ license = GPL3
+ makedepends = git
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = qt5-quickcontrols2
+ provides = qqc2-breeze-style
+ conflicts = qqc2-breeze-style
+ source = git+https://invent.kde.org/plasma/qqc2-breeze-style.git
+ md5sums = SKIP
+
+pkgname = qqc2-breeze-style-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9a0e2626829
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=qqc2-breeze-style-git
+_pkgname=qqc2-breeze-style
+pkgver=r105.96d00f7
+pkgrel=1
+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)
+makedepends=('git')
+provides=(qqc2-breeze-style)
+conflicts=(qqc2-breeze-style)
+source=("git+$url.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd ${_pkgname}
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
+ make -C build
+}
+
+package() {
+ cd ${_pkgname}
+ make -C build DESTDIR="${pkgdir}" PREFIX=/usr install
+}