summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynne Plaga2020-05-20 01:33:09 -0400
committerWynne Plaga2020-05-20 01:33:09 -0400
commit7a1dd6259bee586dabb75bc5cf96480265bf9f03 (patch)
tree1078f98f8192cb9db4cce817973afa3bc45a0572
downloadaur-kwin-effects-sliding-notifications-git.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD34
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d5284faba8cf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = kwin-effects-sliding-notifications-git
+ pkgdesc = Sliding animation for notification windows
+ pkgver = 12.949a756
+ pkgrel = 1
+ url = https://github.com/zzag/kwin-effects-sliding-notifications
+ arch = any
+ makedepends = git
+ makedepends = cmake
+ makedepends = extra-cmake-modules
+ depends = kwin
+ source = git+https://github.com/zzag/kwin-effects-sliding-notifications.git
+ md5sums = SKIP
+
+pkgname = kwin-effects-sliding-notifications-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..cfe0ca2102eb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Wynne Plaga <rwplaga dot linux at gmail dot com>
+
+pkgname=kwin-effects-sliding-notifications-git
+_reponame=kwin-effects-sliding-notifications
+pkgver=12.949a756
+pkgrel=1
+pkgdesc="Sliding animation for notification windows"
+arch=('any')
+url="https://github.com/zzag/kwin-effects-sliding-notifications"
+#license=('MIT')
+depends=('kwin')
+makedepends=('git' 'cmake' 'extra-cmake-modules')
+source=("git+https://github.com/zzag/kwin-effects-sliding-notifications.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_reponame"
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$_reponame"
+
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_reponame/build"
+ make DESTDIR="$pkgdir/" install
+}
+