summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c6bbf9395e76e15a8e08c8d54e07d66331b11b1 (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
# Maintainer: Vincent B. <vb AT luminar.eu.org>
pkgname=klong
pkgver=20190926
pkgrel=1
pkgdesc="A simple array language"
arch=('armv7h' 'aarch64' 'x86_64')
url="http://t3x.org/klong"
license=("CC0")
source=("http://t3x.org/klong/klong${pkgver}.tgz")
md5sums=('d03ed117cc8b9fadc87c1dd68b7fe7ec')

build() {
  cd ${srcdir}/${pkgname}
  make
}

check() {
  cd ${srcdir}/${pkgname}
  make test
}

package() {
  mkdir -p ${pkgdir}/usr/{bin,lib}
  cp ${srcdir}/${pkgname}/{kg,kplot} ${pkgdir}/usr/bin
  cp -a ${srcdir}/${pkgname}/lib ${pkgdir}/usr/lib/klong
}