pkgname=stlscope pkgver=0.2.1 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=('704a1bb837453d8f598f8e83c265cc9151cd561ec662d315987692806d218781') build() { cd "$pkgname" make all } check() { cd "$pkgname" make tests } package() { cd "$pkgname" make install DESTDIR="$pkgdir" }