# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=arc-theme
pkgver=20170302
pkgrel=0
pkgdesc="A flat theme with transparent elements"
url="https://github.com/horst3180/arc-theme"
arch="noarch"
license="GPL-3.0"
depends="gtk-murrine-engine"
makedepends="automake autoconf libtool gtk+3.0-dev"
install=""
subpackages=""
source="arc-theme-$pkgver.tar.gz::https://github.com/horst3180/arc-theme/archive/$pkgver.tar.gz"
builddir="$srcdir/arc-theme-$pkgver"

build() {
	cd "$builddir"
	autoreconf -vif
        ./configure \
                --build=$CBUILD \
                --host=$CHOST \
                --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --infodir=/usr/share/info \
                --localstatedir=/var \
                --disable-unity \
		--disable-cinnamon \
		--disable-gnome-shell \
		--disable-metacity \
		return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="99408a7c4db2bd2d81453e308ae5d9bc9bfda4f11e57191936f985de2937debff76c4d1f37a97ac8f5ad3751401ee8ad02457e4558b9c4aedc2bfeba1736ef03  arc-theme-20170302.tar.gz"
