aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-icon-theme/APKBUILD
blob: dbdbfba5804f7a16c33717833229ceeb2291f7de (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-icon-theme
pkgver=1.14.0
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
}

md5sums="0454b4c6ddff31ac97cddc75076ef47b  mate-icon-theme-1.14.0.tar.xz"
sha256sums="15bb2bed0046d7d4d8f770c04d00ffb55ffd72d601b05ac07f112265e9261eb5  mate-icon-theme-1.14.0.tar.xz"
sha512sums="e75c1d6ad0781050a359fe1b54f836e9bc4e099f465a5bc4dc3e235432558304561c047f7f1e4d1764522073f04aa65ca9ae4dbde44627de8b3a9de1e7178490  mate-icon-theme-1.14.0.tar.xz"