summaryrefslogtreecommitdiff
path: root/stlscope/PKGBUILD
blob: 6a7650d03724b2744cd4054e70b53cc4e4fd0e36 (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
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"
}