aboutsummaryrefslogtreecommitdiffstats
path: root/main/adwaita-icon-theme/APKBUILD
blob: f47fe865f786ce97e5d4bd0e39d21753821b4869 (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
52
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=adwaita-icon-theme
pkgver=3.14.1
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="d03913d2d1624a6749a5c032082368fb  adwaita-icon-theme-3.14.1.tar.xz"
sha256sums="b776a7ad58c97f4c1ede316e44d8d054105429cb4e3a8ec46616a14b11df48ee  adwaita-icon-theme-3.14.1.tar.xz"
sha512sums="c7831e78eb382faa78706caf53e6b3c5543d7fab266d73c8f1325d81331b75f1244f06da1c908e1d1a4336964e51ea65284f461ec0fdd523bc71569e84287931  adwaita-icon-theme-3.14.1.tar.xz"