aboutsummaryrefslogtreecommitdiffstats
path: root/main/adwaita-icon-theme/APKBUILD
blob: d73536e6e163edb0603021dd45cf724177cc65bb (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=adwaita-icon-theme
pkgver=3.31.1
pkgrel=0
pkgdesc="Adwaita icon theme"
url="http://www.gnome.org"
arch="noarch"
options="!check"  # Icons only, no binaries.
license="LGPL-3.0-or-later or CC-BY-SA"
depends=""
makedepends="$depends_dev intltool gtk+2.0 gtk+3.0 librsvg"
subpackages="$pkgname-dev"
case $pkgver in
*.*.*.*) _v=${pkgver%.*.*};;
*.*.*) _v=${pkgver%.*};;
*) _v=$pkgver;;
esac

source="https://download.gnome.org/sources/adwaita-icon-theme/${_v}/adwaita-icon-theme-$pkgver.tar.xz"

build() {
	cd "$builddir"
	DATADIRNAME=share \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make DATADIRNAME=share
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\
		DATADIRNAME=share
}

sha512sums="aa73637cca8189e7141c0554ba7bda1234cbe192710463c9ad1c81b46a410b21e5fb48a090917324163ee4c0301fb1380d18ef5f9bb8faf1b401a52af18c60b1  adwaita-icon-theme-3.31.1.tar.xz"