summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhekel2022-06-15 10:44:31 -0400
committerhekel2022-06-15 10:44:31 -0400
commite510b0f44156e5e9414526766cdb78ef39981e46 (patch)
treeb0fe92c2c9136fec6caf26376f160feff7c0dd2e /PKGBUILD
downloadaur-e510b0f44156e5e9414526766cdb78ef39981e46.tar.gz
FIRST
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e3e4a39d4933
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: hekel <hekel(at)vivaldi(dot)net>
+
+pkgname=kwin-effects-burn-my-windows-git
+_pkgname=Burn-My-Windows-kde
+pkgver=r635.caec83a
+pkgrel=1
+pkgdesc="Disintegrate your windows with style."
+arch=('any')
+_url="https://github.com/Schneegans/Burn-My-Windows"
+url="$_url/tree/feature/kde"
+license=('GPL3')
+depends=('kwin')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("$_pkgname::git+$_url.git#branch=feature/kde")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${_pkgname}
+ ( set -o pipefail
+ git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ )
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}/kwin"
+ sh build.sh
+}
+
+package() {
+ mkdir -p "${pkgdir}/usr/share/kwin/effects/"
+ cp -r "${srcdir}/${_pkgname}/kwin/_build/." "${pkgdir}/usr/share/kwin/effects/"
+}