aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-icon-theme/APKBUILD
blob: 94035be82d14fb1a4c98fca411a2f9695aabc9e0 (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
47
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-icon-theme
pkgver=3.12.0
pkgrel=0
pkgdesc="icons for GNOME desktop environment"
url="http://art.gnome.org/"
arch="noarch"
license="GPL"
depends=
depends_dev=
makedepends="gtk+2.0 intltool icon-naming-utils"
install=
subpackages="$pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${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 \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-scrollkeeper \
		|| return 1
	make || return 1
}

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

md5sums="f14bed7f804e843189ffa7021141addd  gnome-icon-theme-3.12.0.tar.xz"
sha256sums="359e720b9202d3aba8d477752c4cd11eced368182281d51ffd64c8572b4e503a  gnome-icon-theme-3.12.0.tar.xz"
sha512sums="9dab14a5d30b1fa6655fbd44f15357158dc49ef01d27be678eaed35cb4a9f21546dee2a5d7fb50dac5e3595e161b0be7e7bc79daf47b772f0bb37109b0078bea  gnome-icon-theme-3.12.0.tar.xz"