aboutsummaryrefslogtreecommitdiffstats
path: root/main/geeqie/APKBUILD
blob: aaa1e20b0481d89f97469d0167abc060adf941fb (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=geeqie
pkgver=1.1
pkgrel=1
pkgdesc="Geeqie is a lightweight Gtk+ based image viewer and organiser"
url="http://geeqie.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="gtk+2.0-dev lcms-dev exiv2-dev libtool doxygen lcms-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"

_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 --prefix=/usr
        make || exit 1
}

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

md5sums="e63351988625c84b0fd80bc4eefd923b  geeqie-1.1.tar.gz"
sha256sums="5544e81c29917a647f19bfe800d9f0dd1cd5b890329feebd9abd80927e1afecf  geeqie-1.1.tar.gz"
sha512sums="3949b2717c70adb4e6b2c6db002042bcd1c3e9a5345991d3cba41de1765709ccf70fadfcde9dd221b1da03ef14512c746ab424cbc0d09617c52dbf445ee0243d  geeqie-1.1.tar.gz"