summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aaf42f7ea20da7c4e029c5ee372884b3edf0cece (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
28
29
30
31
32
# Maintainer: Antoine Lubineau <antoine@lubignon.info>
# Contributor: lp76 <l.peduto@gmail.com>

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