# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=paper-gtk-theme
pkgver=2.1.0
pkgrel=0
pkgdesc="Paper Theme Suite"
url="https://snwh.org/paper"
arch="noarch"
options="!strip"
license="GPL-3.0"
depends="gtk-murrine-engine"
makedepends="automake autoconf libtool"
install=""
subpackages=""
source="paper-gtk-theme-$pkgver.tar.gz::https://github.com/snwh/paper-gtk-theme/archive/v$pkgver.tar.gz"
builddir="$srcdir/paper-gtk-theme-$pkgver"

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

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

md5sums="f72806e22cdcbf14f15cfa8b20268ced  paper-gtk-theme-2.1.0.tar.gz"
sha256sums="e097f92552bfaaea1e01b431f2af1a109a7643331b9029ba207a82e3eccda197  paper-gtk-theme-2.1.0.tar.gz"
sha512sums="2ceffba42a03d897694d1a1f4817736f6750d393174582f4dc3d19ab5563988d521558d9d7c49a3075386999562907a3ae9eea2734a0f9f423e438c89756c65c  paper-gtk-theme-2.1.0.tar.gz"
