aboutsummaryrefslogtreecommitdiffstats
path: root/main/adwaita-icon-theme/APKBUILD
blob: b44fb529bd41fbcf1db23c371e8e953067c31c9c (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=adwaita-icon-theme
pkgver=3.14.0
pkgrel=0
pkgdesc="Adwaita icon theme"
url="http://www.gnome.org"
arch="noarch"
license="LGPLv3+ or CC-BY-SA"
depends=""
depends_dev=""
makedepends="$depends_dev intltool gtk+2.0 gtk+3.0 librsvg"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://download.gnome.org/sources/adwaita-icon-theme/3.14/adwaita-icon-theme-$pkgver.tar.xz"

_builddir="$srcdir"/adwaita-icon-theme-$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 \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

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

md5sums="75ed0541d5939c415cb2e0e2010f639f  adwaita-icon-theme-3.14.0.tar.xz"
sha256sums="afacb6025a18be007e33a9663b92cee9d2745279bb00107a68e09b2806f9541f  adwaita-icon-theme-3.14.0.tar.xz"
sha512sums="f90bbf94af330037aa53c081b60f18fe0a17eb62f4a2ec65582e5b712f71f1c1d91510a5db2a0d5a5fffb5dcc71b079929e7062b15f216fcd16d4d3a1ccdc1f4  adwaita-icon-theme-3.14.0.tar.xz"