summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele Musco2018-01-21 00:17:03 +0100
committerGabriele Musco2018-01-21 00:17:03 +0100
commitd5704775b350edae49fcd8bcf97e699836902bf6 (patch)
tree17f70ca875d996c4328767dbc42cbffb612f626b
downloadaur-d5704775b350edae49fcd8bcf97e699836902bf6.tar.gz
first release
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD36
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..011adead7cc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = hydrapaper-git
+ pkgdesc = A Gtk utility to set two different backgrounds for each monitor on GNOME
+ pkgver = 3b10233
+ pkgrel = 1
+ url = https://github.com/gabmus/hydrapaper
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = meson
+ depends = gtk3>=3.14
+ depends = python
+ depends = python-wand
+ depends = python-xmltodict
+ provides = hydrapaper
+ conflicts = hydrapaper
+ source = hydrapaper::git+https://github.com/gabmus/hydrapaper
+ sha256sums = SKIP
+
+pkgname = hydrapaper-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..810ad4e0c8b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
+# Upstream URL: https://github.com/gabmus/hydrapaper
+
+pkgname=hydrapaper-git
+pkgver=3b10233
+pkgrel=1
+pkgdesc='A Gtk utility to set two different backgrounds for each monitor on GNOME'
+arch=('any')
+url='https://github.com/gabmus/hydrapaper'
+license=('GPL3')
+depends=('gtk3>=3.14' 'python' 'python-wand' 'python-xmltodict')
+makedepends=('git' 'meson')
+provides=('hydrapaper')
+conflicts=('hydrapaper')
+source=("hydrapaper::git+https://github.com/gabmus/hydrapaper")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/hydrapaper"
+ git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/hydrapaper"
+ rm -rf build
+ mkdir build
+ cd build
+ meson --prefix /usr --buildtype release ..
+ ninja
+}
+
+package() {
+ cd "$srcdir/hydrapaper"
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}