summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-10-06 11:12:51 +0200
committeractionless2020-10-06 11:12:51 +0200
commit2cbb8946a052a1e97af903cb30b9f89b1be1a2ed (patch)
treef16e24f893fd8902f3ce2bf1104a8e227f2f2a2b
downloadaur-2cbb8946a052a1e97af903cb30b9f89b1be1a2ed.tar.gz
initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD44
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ba9359eca8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = geh-git
+ pkgdesc = A simple command line image viewer written in C/GTK3 with various nice features.
+ pkgver = 0.4.0.r9.g26bfe3a
+ pkgrel = 1
+ url = https://github.com/software-revive/geh-rv
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = git
+ depends = gtk3
+ provides = geh
+ conflicts = geh
+ conflicts = geh-gtk2
+ conflicts = geh-gtk2-git
+ source = geh::git+https://github.com/software-revive/geh-rv.git#branch=master
+ md5sums = SKIP
+
+pkgname = geh-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5e061f82e74
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+
+geh/
+geh-git-*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ec4fd96cbe2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: actionless <actionless DOT loveless PLUS aur AT gmail MF com>
+
+pkgname=geh-git
+pkgver=0.4.0.r9.g26bfe3a
+pkgrel=1
+pkgdesc="A simple command line image viewer written in C/GTK3
+with various nice features."
+arch=('x86_64' 'i686')
+url="https://github.com/software-revive/geh-rv"
+license=('GPL3')
+source=(
+ "geh::git+${url}.git#branch=master"
+)
+md5sums=('SKIP')
+depends=(
+ 'gtk3'
+)
+makedepends=(
+ 'git'
+)
+optdepends=()
+provides=('geh')
+conflicts=(
+ 'geh'
+ 'geh-gtk2'
+ 'geh-gtk2-git'
+)
+
+pkgver() {
+ cd "${srcdir}/geh"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "${srcdir}/geh"
+ ./autogen.sh
+ ./configure --prefix="$pkgdir" --disable-gtk2
+ make && make install
+ mkdir -p "$pkgdir/usr/bin"
+ mv "$pkgdir/bin/"* "$pkgdir/usr/bin"
+ rmdir "$pkgdir/bin"
+}
+
+# vim: ft=PKGBUILD