summaryrefslogtreecommitdiffstats
path: root/testing/mate-icon-theme/APKBUILD
blob: 09eecdac73db29f30ef91a80ac582e2f8e94f8e7 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer:
pkgname=mate-icon-theme
pkgver=1.9.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=""
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 \
		--prefix=/usr \
		|| return 1
	make || return 1
}

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

md5sums="acee85ec61cc8453569622f77e385c68  mate-icon-theme-1.9.0.tar.xz"
sha256sums="7de4d79d991307d7756bd07e13297b63dc0492b409a7ee5c4918084f145bab6f  mate-icon-theme-1.9.0.tar.xz"
sha512sums="8b16d9561c2e23c4dbae2a45650b8b523fc7602e53d57a9f4b9b2be883cc1cf47a988f2efe90def09e218bd9a8d856aef49be1c7a17ba2d98b364b8264e7c8e4  mate-icon-theme-1.9.0.tar.xz"