summaryrefslogtreecommitdiffstats
path: root/main/gnome-icon-theme/APKBUILD
blob: 35e0d8c1aac71adbc73b02308626cf84e9c4e703 (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.10.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="dc019e394a35b2642469bf7c299ca163  gnome-icon-theme-3.10.0.tar.xz"
sha256sums="c65472b5846c67b97fe75200c5180faccd1347a04caa8390fc0ad23de75b36f6  gnome-icon-theme-3.10.0.tar.xz"
sha512sums="8d5a58170a7926829d33e5a626bc45a33d11bc83068f8d19e52b871627ad7987e344c5c1665570e0a91b11bc2708b2b1d9c9503be8e9d92577322cf672ffd1d6  gnome-icon-theme-3.10.0.tar.xz"