summaryrefslogtreecommitdiff
path: root/stlscope/PKGBUILD
blob: 9090b1221f252aba8fd44e6d6e09a4ca70d07d5f (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.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"
}