aboutsummaryrefslogtreecommitdiffstats
path: root/testing/n30f/APKBUILD
blob: c9d30b8eb528349247a5f3d41b13ee0808ce56ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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"