Commit ef39d3f7 authored by Roberto Oliveira's avatar Roberto Oliveira
Browse files

testing/n30f: modernize and add basic check

Add basic check as upstream doesn't provide a test suite.
parent 801c0dad
......@@ -2,22 +2,27 @@
# Maintainer: Camille Scholtz <onodera@openmailbox.org>
pkgname=n30f
pkgver=2.0
pkgrel=0
pkgdesc="a quick hack to display a png in a borderless and transparent non-wm-managed window"
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=""
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
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
./n30f --help > /dev/null
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment