aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-icon-theme/APKBUILD
blob: ae33b2cd88ea134b194070eb91c48541c4601909 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-icon-theme
pkgver=1.18.1
pkgrel=0
pkgdesc="MATE desktop icons"
url="https://github.com/mate-desktop/mate-icon-theme"
arch="noarch"
license="GPL2"
depends="mate-common"
depends_dev=""
makedepends="icon-naming-utils intltool"
install=""
subpackages="$pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$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"
	DATADIRNAME=share ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr \
		|| return 1
	make || return 1
}

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

sha512sums="723243e904e34a6838b8fdf1daf6d5c92f3519498a7b2c43d411a60244c596ed2c3998d110ad124174b1425df429600cc4a9a46dfd08b53ed617accc96f5de12  mate-icon-theme-1.18.1.tar.xz"