diff options
author | Alan Lacerda <alacerda@alpinelinux.org> | 2015-03-24 14:27:15 +0000 |
---|---|---|
committer | Alan Lacerda <alacerda@alpinelinux.org> | 2015-03-24 16:19:36 +0000 |
commit | cf115c29ef66069868deec690aff71407526bd42 (patch) | |
tree | 207c772031926079479de86968c62006b0443b4d /main/marco/APKBUILD | |
parent | 521d181712324589ea8c5f5aaad7eb73a02e0d6d (diff) | |
download | aports-cf115c29ef66069868deec690aff71407526bd42.tar.bz2 aports-cf115c29ef66069868deec690aff71407526bd42.tar.xz |
main/marco: move from testing
Diffstat (limited to 'main/marco/APKBUILD')
-rw-r--r-- | main/marco/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/main/marco/APKBUILD b/main/marco/APKBUILD new file mode 100644 index 0000000000..9c9c05870e --- /dev/null +++ b/main/marco/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=marco +pkgver=1.9.90 +pkgrel=1 +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 \ + --with-gtk=2.0 \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --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="137f212917fec273e0baf61e55666d20 marco-1.9.90.tar.xz" +sha256sums="dd38582deb03c90f99ec1a54e11933709e307e35c584eeff20147c2ee61d1d92 marco-1.9.90.tar.xz" +sha512sums="901064d38f91184570f6d2f4e25fc9844d5918b43b2eb3bf34da20b17513e1eff270a484d6d514f2c08acfec58ec72f77f6e62a26f07d503b7285e09247c5ef7 marco-1.9.90.tar.xz" |