aboutsummaryrefslogtreecommitdiffstats
path: root/testing/enlightenment/APKBUILD
blob: ae2d0d6388899bf05bf052dc173625312330003a (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=enlightenment
pkgver=0.17.0
pkgrel=0
pkgdesc="Enlightenment DR17 Window Manager and Desktop Shell"
url="http://www.enlightenment.org/"
arch="all"
license="BSD"
depends=
depends_dev="
	e_dbus-dev 
	ecore-dev
	edje-dev
	eet-dev
	eeze-dev
	efreet-dev
	eina-dev
	eio-dev
	evas-dev
	"
makedepends="$depends_dev
	alsa-lib-dev
	ethumb-dev
	paxctl
	pm-utils-dev
	udisks2-dev
	xcb-util-keysyms-dev
	"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://download.enlightenment.org/releases/enlightenment-$pkgver.tar.gz"

_builddir="$srcdir"/enlightenment-$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
	find "$pkgdir"/usr/lib/ -name "*.la" | xargs rm -f
	# opengl needs mprotect off for now
	paxctl -c -m "$pkgdir"/usr/bin/enlightenment
}

md5sums="b2824849c2c56d80fdc11c1f2171d4ec  enlightenment-0.17.0.tar.gz"