summaryrefslogtreecommitdiffstats
path: root/testing/elementary/APKBUILD
blob: 64bcbc3d9d6e313ea7ab2d98ac366568ad8dacbc (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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=elementary
pkgver=1.7.4
pkgrel=0
pkgdesc="Enlightenment's basic widget set"
url="http://trac.enlightenment.org/e/wiki/Elementary"
arch="all"
license="BSD"
depends=
depends_dev="eina-dev eet-dev evas-dev ecore-dev edje-dev"
makedepends="$depends_dev eio-dev e_dbus-dev efreet-dev ethumb-dev emotion-dev"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://download.enlightenment.org/releases/elementary-$pkgver.tar.gz"

_builddir="$srcdir"/elementary-$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' -delete
}

md5sums="cf2ca073656ebac36c26df4fa4debdee  elementary-1.7.4.tar.gz"