APKBUILD 1.5 KB
Newer Older
1
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
2 3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=adwaita-icon-theme
4
pkgver=3.18.0
5 6 7 8 9 10 11 12 13 14
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"
15 16 17 18 19 20
case $pkgver in
*.*.*.*) _v=${pkgver%.*.*};;
*.*.*) _v=${pkgver%.*};;
esac

source="http://download.gnome.org/sources/adwaita-icon-theme/${_v}/adwaita-icon-theme-$pkgver.tar.xz"
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

_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
45
	make DATADIRNAME=share || return 1
46 47 48 49 50
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\
51
		DATADIRNAME=share \
52 53 54
		|| return 1
}

55 56 57
md5sums="ec1fa3fde83ad166ae7075a97dc1ec4b  adwaita-icon-theme-3.18.0.tar.xz"
sha256sums="5e9ce726001fdd8ee93c394fdc3cdb9e1603bbed5b7c62df453ccf521ec50e58  adwaita-icon-theme-3.18.0.tar.xz"
sha512sums="67b79918c9261f57997a449230dd3439e5da227e6bda5a85f5ce37fbacafe8761f273d3f52c5d160168de246cbd0ec2caa9565ba277ac2a10c1379879838262d  adwaita-icon-theme-3.18.0.tar.xz"