aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-themes/APKBUILD
blob: dcfbee1cf7462ebe3da28cdc48a67257938f506a (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-themes
pkgver=1.12.0
_gtkver=3.18
pkgrel=0
pkgdesc="MATE themes"
url="https://github.com/mate-desktop/mate-themes"
arch="noarch"
license="LGPL2"
depends="mate-common"
depends_dev=""
makedepends="$depends_dev intltool gdk-pixbuf-dev gtk+2.0-dev icon-naming-utils"
install=""
subpackages="$pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-gtk$_gtkver-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-gtk$_gtkver-$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 \
		--sysconfdir=/etc \
		--prefix=/usr \
		--enable-all-themes \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="67b38a28ce0aaecc86bbaab20c16c2cb  mate-themes-gtk3.18-1.12.0.tar.xz"
sha256sums="5f6858fb035305057cd72e5311ffb3e7e6f9aaba57d6df28974d38f16852bb8b  mate-themes-gtk3.18-1.12.0.tar.xz"
sha512sums="3656ee157f49053bc4bb46e9a63ba5176b6e018aa8930d7bbfc2cdc004bc52fd672d3002ec15952e50d1638453f9ab7661b44e084951d93f2e1043421f2563da  mate-themes-gtk3.18-1.12.0.tar.xz"