# Maintainer: Antoine Lubineau # Contributor: lp76 pkgname=ts pkgver=1.0.2 pkgrel=3 pkgdesc="Task spooler is a Unix batch system where the tasks spooled run one after the other" arch=('i686' 'x86_64') url="https://viric.name/soft/ts/" license=('GPL2') source=( "https://viric.name/soft/ts/ts-${pkgver}.tar.gz" "ts-to-tsp.patch" ) sha256sums=('f73452aed80e2f9a7764883e9353aa7f40e65d3c199ad1f3be60fd58b58eafec' 'ec24528e70d680fed39339b7bc1f7918b23dd5096ea5e9276bb95137d2df2966') prepare() { cd "$srcdir/$pkgname-$pkgver" patch -p1 < "$srcdir/ts-to-tsp.patch" } build() { cd "$srcdir/$pkgname-$pkgver" make } package() { cd "$srcdir/$pkgname-$pkgver" make PREFIX="$pkgdir/usr" install install -D --mode=0644 TRICKS "$pkgdir/usr/share/doc/tsp/TRICKS" }