summaryrefslogtreecommitdiffstats
path: root/testing/elementary/APKBUILD
blob: 179d23e32e17509509bff0b679f25495d1b76cf8 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=elementary
pkgver=1.7.9
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="6a3acb394b640697b1fd2dd61d990d0b  elementary-1.7.9.tar.gz"
sha256sums="3667c6da3d89be5a46363509645be59e3deb1f052bfa14239986ac9499da52fb  elementary-1.7.9.tar.gz"
sha512sums="ab9a220b18de9e47b4f22ba27bda695870e3c27a31329e812703536d219f93adbb44d07a33535e1682c1890554bbe2597b4fdb44b7c18e987d8d2ed53ed07265  elementary-1.7.9.tar.gz"