# Maintainer: Jesus E. pkgname=arc-icon-theme pkgver=20161122 pkgrel=4 pkgdesc="Standard icons for GTK+" arch=('any') url='https://github.com/horst3180/arc-icon-theme/' license=('GPL-3') depends=('gnome-icon-theme') options=('!emptydirs' '!strip') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/horst3180/${pkgname}/archive/${pkgver}.tar.gz") sha512sums=('5d0f1417358eb81994868949acefe146537d8f3cc2fd7f529f9e6ba9c264845e50962f94427bac1262a76d3ca98d05795819d7c4a6ecd3139b0b57a6e9fdfad1') prepare() { # add fallback themes cd ${pkgname}-${pkgver} sed -i "s/Inherits=.*/Inherits=gnome,hicolor/" Arc/index.theme } build() { cd ${pkgname}-${pkgver} ./autogen.sh \ --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -Dm644 COPYING -t ${pkgdir}/usr/share/licenses/${pkgname} }