# Contributor: Camille Scholtz <onodera@openmailbox.org>
# Maintainer: Camille Scholtz <onodera@openmailbox.org>
pkgname=n30f
pkgver=2.0
pkgrel=1
pkgdesc="A quick hack to display a png in a borderless and transparent non-wm-managed window"
url="https://github.com/sdhand/n30f"
arch="all"
license="BSD"
depends_dev="cairo-dev libxcb-dev"
makedepends="$depends_dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sdhand/$pkgname/archive/$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	./n30f --help > /dev/null
}

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

sha512sums="e500cc1699c456f56aab027b747a9792ac0c7b6a0b88d90faf793d109ce5abfbba4a09d8bafc1e5e84143d7fc31bf14cac0b17498424878254af49ebf61e94a8  n30f-2.0.tar.gz"
