summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuca Weiss2017-03-05 14:47:40 +0100
committerLuca Weiss2017-03-05 14:47:40 +0100
commitb14fbdce0224998171b4e98723ac2d299a215543 (patch)
treedcc50a901ee15c87584b3916539ed18c47fefc59 /PKGBUILD
downloadaur-b14fbdce0224998171b4e98723ac2d299a215543.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb510038c16
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
+
+# Tip: If your video doesn't play, take a look at "journalctl -b"
+
+_pkgname=org.kde.video
+pkgname=plasma5-wallpapers-video-git
+pkgver=r4.f8ec6f9
+pkgrel=1
+pkgdesc="Allows the use of video wallpaper and lock screen."
+arch=("any")
+url="https://github.com/halverneus/org.kde.video"
+license=('unknown')
+optdepends=('gst-plugins-bad: more codecs' 'gst-plugins-ugly: more codecs')
+makedepends=('git')
+provides=("plasma5-wallpapers-video")
+conflicts=("plasma5-wallpapers-video")
+source=('git+https://github.com/halverneus/org.kde.video')
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/plasma/wallpapers/$_pkgname"
+ cp -r "$srcdir/$_pkgname/"* "$pkgdir/usr/share/plasma/wallpapers/$_pkgname"
+}