aboutsummaryrefslogtreecommitdiffstats
path: root/testing/marco/APKBUILD
diff options
context:
space:
mode:
authorAlan Lacerda <alacerda@alpinelinux.org>2014-12-15 14:45:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-19 18:33:13 +0000
commit77b51113c14c245478c478fe58e43b25d4f2fcea (patch)
tree351d89c4737fff5a3ee206bb05ede2d4407ad88d /testing/marco/APKBUILD
parenta7fed0ebada71a7e2f4f17a6b04607c34c772872 (diff)
downloadaports-77b51113c14c245478c478fe58e43b25d4f2fcea.tar.bz2
aports-77b51113c14c245478c478fe58e43b25d4f2fcea.tar.xz
testing/marco: new aport
Diffstat (limited to 'testing/marco/APKBUILD')
-rw-r--r--testing/marco/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/marco/APKBUILD b/testing/marco/APKBUILD
new file mode 100644
index 0000000000..9c4442334d
--- /dev/null
+++ b/testing/marco/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
+# Maintainer:
+pkgname=marco
+pkgver=1.9.3
+pkgrel=0
+pkgdesc="MATE window manager"
+url="https://github.com/mate-desktop/marco"
+arch="all"
+license="GPL2"
+depends="mate-common yelp-tools"
+depends_dev=""
+makedepends="$depends_dev libtool itstool zenity intltool glib-dev gtk+-dev
+ libxcomposite-dev libcanberra-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir/$pkgname-$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 \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
+ make CFLAGS='-D_GNU_SOURCE' || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" install || return 1
+ find "$pkgdir" -name \*.la -delete
+}
+
+md5sums="2939e2b4540943d26f254e9c45c4869e marco-1.9.3.tar.xz"
+sha256sums="be03636784b5a99c683f2de886485dc5b24ce040628f4e83155997922aa76329 marco-1.9.3.tar.xz"
+sha512sums="a6bb8d8e4adc6e13c6b969eaec9a9326d4fa4b56ee78d3bf0939085fcbd333eec0b0d1a34b4b36a99445a9512129d7a4546d333e65c1b5e891109933341dc699 marco-1.9.3.tar.xz"