pkgname=stlscope pkgver=0.3.0 pkgrel=1 pkgdesc='A simpel STL file viewer' arch=('x86_64') url="https://src.xengineering.eu/xengineering/$pkgname" license=('GPL3') makedepends=('go') depends=('licenses') source=("$url/archive/$pkgver.tar.gz") sha256sums=('7764955ca43577074aa1fb1788db32eed6037f267ce596283a7636cb92d2cdb0') build() { cd "$pkgname" make all } check() { cd "$pkgname" make tests } package() { cd "$pkgname" make install DESTDIR="$pkgdir" }