# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=transset
pkgver=1.0.2
pkgrel=0
pkgdesc="Transparency / opacity manipulation for X11 windows"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libx11-dev xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/transset-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="f7a658cae70e211a0455420efbfacee0f3032821d94e7a80ec6db32ced716c1ce013f38713915505998071c312cedd1bad08575dbadfbbeb94361b048623f874  transset-1.0.2.tar.bz2"