summaryrefslogtreecommitdiff
path: root/stlscope/PKGBUILD
blob: 4ec7df362efc8706c9898e95d93f21ec4c5d32f4 (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
28
29
30

# maintainer: xengineering <me@xengineering.eu>

pkgname=stlscope
pkgver=0.3.0
pkgrel=2
pkgdesc='A simpel STL file viewer'
arch=('x86_64')
url="https://cgit.xengineering.eu/$pkgname"
license=('GPL3')
makedepends=('go')
depends=('licenses')
source=("git+${url}")
sha256sums=('SKIP')

build() {
  cd "$pkgname"
  make all
}

check() {
  cd "$pkgname"
  make tests
}

package() {
  cd "$pkgname"
  make install DESTDIR="$pkgdir"
}