summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2015-06-09 00:36:44 +0200
committerStefan Husmann2015-06-09 00:36:44 +0200
commitb1fea72a5a7770e60fe1903c8b290d287a9804de (patch)
treedf99f8d4c8ba8d0d40f2d16e171b2c828b2a893e
downloadaur-b1fea72a5a7770e60fe1903c8b290d287a9804de.tar.gz
initial version
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..20c81c970e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = meh-git
+ pkgdesc = A minimal image viewer using raw XLib.
+ pkgver = 0.3.25.g4ab1c75
+ pkgrel = 1
+ url = http://www.johnhawthorn.com/meh/
+ arch = i686
+ arch = x86_64
+ license = custom:MIT
+ depends = libxext
+ depends = libjpeg
+ depends = giflib
+ depends = libpng
+ optdepends = imagemagick
+ conflicts = meh
+ source = git+https://github.com/jhawthorn/meh.git
+ md5sums = SKIP
+
+pkgname = meh-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4a2a39d2e95
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Contributor: Andreas Baumann <abaumann at yahoo dot com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=meh-git
+pkgver=0.3.25.g4ab1c75
+pkgrel=1
+pkgdesc="A minimal image viewer using raw XLib."
+arch=('i686' 'x86_64')
+url="http://www.johnhawthorn.com/meh/"
+license=('custom:MIT')
+depends=('libxext' 'libjpeg' 'giflib' 'libpng')
+optdepends=('imagemagick')
+conflicts=('meh')
+source=('git+https://github.com/jhawthorn/meh.git')
+md5sums=('SKIP')
+_gitname=meh
+
+pkgver () {
+ cd $srcdir/$_gitname
+ git describe --tags |sed s+-+.+g | cut -c2-
+}
+
+build() {
+ cd $srcdir/$_gitname
+ make PREFIX=/usr
+}
+
+package() {
+ cd $srcdir/$_gitname
+ install -D -m 755 meh $pkgdir/usr/bin/meh
+ install -D -m 644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+