aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-themes/APKBUILD
blob: ce1afab6cac65b2b5a7815d2b64a25183b982985 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-themes
pkgver=1.9.0
pkgrel=2
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/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 \
		--sysconfdir=/etc \
		--prefix=/usr \
		--enable-all-themes \
		|| return 1
	make || return 1
}

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

md5sums="7e4c20e3bd82fa55b2695cb5bc9fb9df  mate-themes-1.9.0.tar.xz"
sha256sums="bda90434fc53d80fe15d44362c3851435b2e1a562ece243e489906340e31d36c  mate-themes-1.9.0.tar.xz"
sha512sums="e2ebe927cff9a6d6cd0fc6d37c510080fae2a7af64d70b59c0a892911c847d55e591a8f134d14059dcba406009f8b4c15e346fe28f64473a1b7c2415f385e69f  mate-themes-1.9.0.tar.xz"