blob: f7a46db04c8b26a3cf68b5c882ab12ae8e9d604e (
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
|
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=marco
pkgver=1.9.90
pkgrel=2
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+2.0-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"
|