aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-icon-theme/APKBUILD
blob: f828522eeb69b45de40b417e34b7c6a06cd7a402 (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: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-icon-theme
pkgver=1.9.90
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="0d13c3151f0f10ab8bf6b0790eb05f91  mate-icon-theme-1.9.90.tar.xz"
sha256sums="cd17920766ae0e2a450d529a4db4f73c0e035d5914e5e654dbedf11243372d4d  mate-icon-theme-1.9.90.tar.xz"
sha512sums="ce832f5524680e2ed008bcf47240542eb4f7834155c77f78f0990352f667b08b30d7d570e028b9c99e29bded7fdf7b3f9fdfea83ce005d324635d49947abf83e  mate-icon-theme-1.9.90.tar.xz"