summaryrefslogtreecommitdiffstats
path: root/testing/ethumb/APKBUILD
blob: 98e38bbf509a8fcaecf6ac522487663052b2075e (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ethumb
pkgver=1.7.8
pkgrel=0
pkgdesc="EThumb, thumbnail generation library"
url="http://trac.enlightenment.org/e/wiki/Ethumb"
arch="all"
license="BSD"
depends=
depends_dev="eina-dev evas-dev ecore-dev edje-dev e_dbus-dev libexif-dev
	emotion-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.enlightenment.org/releases/ethumb-$pkgver.tar.gz"

_builddir="$srcdir"/ethumb-$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 \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/ethumb/plugins/*.la
}

md5sums="9c5936d06ff79aea0dd81c5be0bf511e  ethumb-1.7.8.tar.gz"
sha256sums="9047a88122c8713444d66294b3343c07feb15817a1809c7cbc9478ba91587e2d  ethumb-1.7.8.tar.gz"
sha512sums="77c23b45fe75ebe26065e4662014196d5187fd11e3bd15edfc3ecc4efbb6678fad5e1b6a9b3e2ca1ffeb87c42792c147034e03ff77a78d3df8d72999d576ba53  ethumb-1.7.8.tar.gz"