# 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"
