aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emotion/APKBUILD
blob: 7bdde8954bc2fc31b5edfd60abed80a8653a854f (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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=emotion
pkgver=1.7.9
pkgrel=0
pkgdesc="Emotion, video and audio codec API"
url="http://trac.enlightenment.org/e/wiki/Emotion"
arch="all"
license="BSD"
depends=""
depends_dev="ecore-dev evas-dev eet-dev eina-dev edje-dev eio-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.enlightenment.org/releases/emotion-$pkgver.tar.gz"

_builddir="$srcdir"/emotion-$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 \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

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

md5sums="171bbc41a5e5d202d0dc57c34e318c14  emotion-1.7.9.tar.gz"
sha256sums="ff72204490e740adaa7980bad1a060dae8113c308c6083e5bcee380a11dad1f4  emotion-1.7.9.tar.gz"
sha512sums="8da35d09f07560305ea43a06d1101f25e8a764d88e8e14b19d2f2410a8ea94a51e1058cf122466d0d5e17d8057e9180f0a898082a6d637de59491741b73bea02  emotion-1.7.9.tar.gz"