aboutsummaryrefslogtreecommitdiffstats
path: root/main/geeqie/APKBUILD
blob: f6b98142d1409e05f114cf6637a1c76c2f751c30 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=geeqie
pkgver=1.3
pkgrel=1
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 lcms2-dev exiv2-dev libtool doxygen \
            lua5.1-dev graphviz-dev automake autoconf"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://www.geeqie.org/${pkgname}-${pkgver}.tar.xz"

builddir=${srcdir}/${pkgname}-${pkgver}

build() {
	cd "$builddir"
	./autogen.sh || return 1
        export CXXFLAGS="$CXXFLAGS -std=gnu++98"
	./configure \
           --build=$CBUILD \
           --host=$CHOST \
           --prefix=/usr \
           --enable-lua || return 1
        make || exit 1
}

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

md5sums="0339ad62946cae7009ec76ec21572065  geeqie-1.3.tar.xz"
sha256sums="4b6f566dd1a8badac68c4353c7dd0f4de17f8627b85a7a70d5eb1ae3b540ec3f  geeqie-1.3.tar.xz"
sha512sums="b17c4174741acd60261af268f0e9290ee3d7766d18fc0d28ada5730bb50651a6261d0b04b9fbe810d323c8e6a1b5a21a4f1ebf0eb88daf95f123b77b8484e718  geeqie-1.3.tar.xz"