aboutsummaryrefslogtreecommitdiffstats
path: root/main/geeqie/APKBUILD
blob: dda47ffa3e951c2bad7bd5e867dd0755dcc6f8f6 (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
35
36
37
38
39
40
41
42
43
44
45
46
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=geeqie
pkgver=1.2.2
pkgrel=0
pkgdesc="Geeqie is a lightweight Gtk+ based image viewer and organiser"
url="http://www.geeqie.org/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="gtk+2.0-dev lcms-dev exiv2-dev libtool doxygen lcms-dev \
            lua5.1-dev graphviz-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://www.geeqie.org/${pkgname}-${pkgver}.tar.xz"

_builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
        ./configure \
           --build=$CBUILD \
           --host=$CHOST \
           --prefix=/usr \
           --enable-lua || return 1
        make || exit 1
}

package() {
	cd "$_builddir"
        make DESTDIR="${pkgdir}" install
}

md5sums="7c720cd1997bcd7ee927a622088c583d  geeqie-1.2.2.tar.xz"
sha256sums="e1cbc403650730e2f4092159e4347c858d3d81e4374d2a51d635234ba90b3ee3  geeqie-1.2.2.tar.xz"
sha512sums="0e134802b42061e76ec2f2d9069ab13ebcab17f889b04917e15aba74a208a4c4ffa5a957f45eb5bd14917d98d2d6250c1085cb065a1ae487050e5e2f325c14c4  geeqie-1.2.2.tar.xz"