aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ts/APKBUILD
blob: 4bcf8b27401f82f306b8e3d18bd2e1a050330212 (plain) (blame)
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
31
32
33
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ts
pkgver=1.0
pkgrel=0
pkgdesc="Unix batch system where the tasks spooled run one after the other"
url="http://vicerveza.homeunix.net/~viric/soft/ts/"
arch="all"
license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev bash"
install=""
subpackages="$pkgname-doc"
source="http://vicerveza.homeunix.net/~viric/soft/ts/ts-$pkgver.tar.gz"
builddir="$srcdir/ts-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir/usr" install
}

check() {
	cd "$builddir"
	./testbench.sh > /dev/null
}

sha512sums="2c0f1fab12126e5c7fc7d211ca71967082f95b202b897be25c4cf0058236f911d1f1a99bdd09830e54ce6ad57db372078eb29b778fae05bc92d3f59399cb4952  ts-1.0.tar.gz"