# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=adwaita-icon-theme pkgver=3.16.2.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" case $pkgver in *.*.*.*) _v=${pkgver%.*.*};; *.*.*) _v=${pkgver%.*};; esac source="http://download.gnome.org/sources/adwaita-icon-theme/${_v}/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 DATADIRNAME=share || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\ DATADIRNAME=share \ || return 1 rm -f "$pkgdir"/usr/lib/*.la } md5sums="9ef86952c947aa27a1a888b7735d60b3 adwaita-icon-theme-3.16.2.1.tar.xz" sha256sums="b4556dfbf555d4fac12d4d5c12f7519de0d43ec42a1b649611439a50bf7acb96 adwaita-icon-theme-3.16.2.1.tar.xz" sha512sums="a38d59d54e204f8c2ab8c8ef2d6120dad636c5534293578692d1fb9a288e5862596117fa938eddf752137ef27e1d1a86eb0a1a046b87961a84c5673df58a5eec adwaita-icon-theme-3.16.2.1.tar.xz"