mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/n30f: modernize and add basic check
Add basic check as upstream doesn't provide a test suite.
This commit is contained in:
parent
801c0dadf3
commit
ef39d3f74f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user