summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsonka Mihaly2019-01-09 19:20:30 +0100
committerCsonka Mihaly2019-01-09 19:20:30 +0100
commitcc8ca135487357b2e3ed0bf464bfceafe812dac7 (patch)
tree061b45c38c600d89db46dcce2426614c2f141d69
downloadaur-cc8ca135487357b2e3ed0bf464bfceafe812dac7.tar.gz
Initial commit.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8d0326d005e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = gnome-wallpaper-changer-git
+ pkgdesc = Set Gnome Desktop wallpaper to an image from a provided directory, or get a featured image from Unsplash.
+ pkgver = r19.b744127
+ pkgrel = 1
+ url = https://github.com/dirkgroenen/gnome-wallpaper-changer
+ arch = any
+ license = GPL2
+ makedepends = git
+ depends = bash
+ provides = gnome-wallpaper-changer-git
+ conflicts = gnome-wallpaper-changer-git
+ source = gnome-wallpaper-changer-git::git+https://github.com/dirkgroenen/gnome-wallpaper-changer.git
+ md5sums = SKIP
+
+pkgname = gnome-wallpaper-changer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..afa51c2a422
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Kibouo <csonka.mihaly@hotmail.com>
+pkgname=gnome-wallpaper-changer-git
+pkgver=r19.b744127
+pkgrel=1
+pkgdesc='Set Gnome Desktop wallpaper to an image from a provided directory, or get a featured image from Unsplash.'
+arch=('any')
+url='https://github.com/dirkgroenen/gnome-wallpaper-changer'
+license=('GPL2')
+depends=('bash')
+makedepends=('git')
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+source=("${pkgname}::git+https://github.com/dirkgroenen/gnome-wallpaper-changer.git")
+md5sums=('SKIP')
+pkgver() {
+ cd "${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+package() {
+ mkdir "${pkgdir}"/usr
+ mkdir "${pkgdir}"/usr/bin
+ mkdir "${pkgdir}"/home
+ mkdir "${pkgdir}${HOME}"
+ mkdir "${pkgdir}${HOME}"/.config
+ mkdir "${pkgdir}${HOME}"/.config/autostart
+
+ cd "${pkgname}"
+ install -Dm 755 ./gnome-wallpaper-changer /usr/bin
+ install -Dm 644 ./gnome-wallpaper-changer.desktop "${HOME}"/.config/autostart
+} \ No newline at end of file