aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-icon-theme-symbolic/APKBUILD
blob: d90839aa3dfbc4c073d466aeb8585e715f5e38ba (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
48
49
50
51
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-icon-theme-symbolic
pkgver=3.12.0
pkgrel=0
pkgdesc="Symbolic GNOME icons"
url="https://git.gnome.org/browse/gnome-icon-theme-symbolic"
arch="noarch"
license="CC-BY-SA"
depends=""
depends_dev=""
makedepends="$depends_dev icon-naming-utils"
install=""
subpackages=""
source="http://download.gnome.org/sources/gnome-icon-theme-symbolic/${pkgver%.*}/gnome-icon-theme-symbolic-$pkgver.tar.xz"

_builddir="$srcdir"/gnome-icon-theme-symbolic-$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"
	# Avoid a BuildRequires on gtk2-devel
	export ac_cv_path_GTK_UPDATE_ICON_CACHE=/bin/true
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="3c9c0e6b9fa04b3cbbb84da825a26fd9  gnome-icon-theme-symbolic-3.12.0.tar.xz"
sha256sums="851a4c9d8e8cb0000c9e5e78259ab8b8e67c5334e4250ebcc8dfdaa33520068b  gnome-icon-theme-symbolic-3.12.0.tar.xz"
sha512sums="e2a662d38c5c1328f384d9bdd73ce54f4e1174a1d88763e4a5f772c2479081f11c81937ba2dc159ce250e433762f14de824516fc68209200d95dc47790471eda  gnome-icon-theme-symbolic-3.12.0.tar.xz"