summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Wolsieffer2015-06-08 19:20:45 -0400
committerBen Wolsieffer2015-06-08 19:20:45 -0400
commit65a5e362b962f53b34d0594118b3cf6a9454819c (patch)
tree29bab4004e0cff17f800171856e032442993b23b
downloadaur-65a5e362b962f53b34d0594118b3cf6a9454819c.tar.gz
Transition to AUR 4
-rw-r--r--.SRCINFO28
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD44
-rw-r--r--wallch.install7
4 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..798616f831a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = wallch
+ pkgdesc = A powerful general purpose wallpaper changer.
+ pkgver = 4.15
+ pkgrel = 3
+ url = http://melloristudio.com/wallch/
+ install = wallch.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = dee
+ makedepends = sqlite
+ makedepends = gst-plugins-base
+ makedepends = libxslt
+ makedepends = qt5-tools
+ depends = libexif
+ depends = libkeybinder2
+ depends = libnotify
+ depends = libunity
+ depends = libappindicator-gtk2
+ depends = qt5-webkit
+ depends = desktop-file-utils
+ optdepends = bash-completion: for bash auto-completion
+ provides = wallch
+ source = http://downloads.sourceforge.net/project/wall-changer/wallch_4.15.tar.gz
+ md5sums = 052eeeb70050444ec098a49a70e2987a
+
+pkgname = wallch
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..32f0ae16451
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src/
+pkg/
+*.tar.gz
+*.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c273d20a2fa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Ben Wolsieffer <benwolsieffer@gmail.com>
+
+pkgname=wallch
+_pkgname=wall-changer
+pkgver=4.15
+pkgrel=3
+pkgdesc="A powerful general purpose wallpaper changer."
+arch=('i686' 'x86_64')
+url="http://melloristudio.com/wallch/"
+license=('GPL3')
+depends=('libexif' 'libkeybinder2' 'libnotify' 'libunity' 'libappindicator-gtk2' 'qt5-webkit' 'desktop-file-utils')
+makedepends=('dee' 'sqlite' 'gst-plugins-base' 'libxslt' 'qt5-tools')
+optdepends=('bash-completion: for bash auto-completion')
+provides=('wallch')
+source=("http://downloads.sourceforge.net/project/${_pkgname}/${pkgname}_${pkgver}.tar.gz")
+install='wallch.install'
+md5sums=('052eeeb70050444ec098a49a70e2987a')
+
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ qmake-qt5 *.pro
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ # Use correct lrelease binary
+ sed -i -e 's|lrelease|lrelease-qt5|g' Makefile
+
+ # Install
+ make INSTALL_ROOT=${pkgdir} install
+ install -Dm 755 wallch "${pkgdir}/usr/bin/wallch"
+
+ # Install icon
+ install -Dm644 data/pixmap/wallch.png "${pkgdir}/usr/share/pixmaps/wallch.png"
+
+ # Install bash completion
+ install -Dm 644 data/bash_autocompletion/wallch "${pkgdir}/usr/share/bash-completion/completions/wallch"
+
+ # Install man page
+ install -Dm 644 data/man/wallch.1.gz "${pkgdir}/usr/share/man/man1/wallch.1.gz"
+}
diff --git a/wallch.install b/wallch.install
new file mode 100644
index 00000000000..9591f6c5da6
--- /dev/null
+++ b/wallch.install
@@ -0,0 +1,7 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}