blob: 4a2a39d2e95dbe4412c5d12900fd6a133e138396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
}
|