aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-themes/APKBUILD
blob: ade7295741c2ebeb80ecf0ee3eef8ad12d74c5ef (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.2
_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="457749603a9affc1ae6dada0a095f193  mate-themes-gtk3.18-1.12.2.tar.xz"
sha256sums="ce96f97cbcd9e208321724f35492ed2f52f6354e56f46e1f30f27f55f4a3d94f  mate-themes-gtk3.18-1.12.2.tar.xz"
sha512sums="b0980ef741403dabcf5f10e106ebd648c702b18df8831ba6e3338a9be1c9ce68e48375c75ca4fb41fbcdb6fdcacc198eeb1b54416910cca71a6baa6738aa94a0  mate-themes-gtk3.18-1.12.2.tar.xz"