aboutsummaryrefslogtreecommitdiffstats
path: root/main/mate-icon-theme/APKBUILD
blob: aff9d0919ec41b881790c3196159f63099149d7d (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.10.1
pkgrel=1
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"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr \
		|| return 1
	make || return 1
}

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

md5sums="04e58eda2476b3ffc052b97ccc4238ff  mate-icon-theme-1.10.1.tar.xz"
sha256sums="9d15201d053ae4275f99e3f575ea8c7ed27711783ed1c262fa6e689d9ea75d5a  mate-icon-theme-1.10.1.tar.xz"
sha512sums="244df8b2ea17c4140920e04daa036b7ca6a219ffda1408430a29656cbbad3ab1a5873dbdbb82c135ef1feba04615d42759eee55bab9eb77ffb647ca91641a87f  mate-icon-theme-1.10.1.tar.xz"