diff options
author | Antoine Lubineau | 2017-12-16 12:05:09 +0100 |
---|---|---|
committer | Antoine Lubineau | 2017-12-16 12:05:09 +0100 |
commit | f9f755cbbbfc720c838276cfcec474e3aeb4846f (patch) | |
tree | 1c4b70fce32099a9d61ef5e5f74047e264a37166 | |
parent | 7a661d5aa595da2dc85268286373e3e248b98f1d (diff) | |
download | aur-f9f755cbbbfc720c838276cfcec474e3aeb4846f.tar.gz |
1.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 18 insertions, 12 deletions
@@ -1,13 +1,15 @@ +# Generated by mksrcinfo v8 +# Sat Dec 16 11:04:55 UTC 2017 pkgbase = ts pkgdesc = A Unix batch system where the tasks spooled run one after the other - pkgver = 0.7.5 + pkgver = 1.0 pkgrel = 1 url = http://vicerveza.homeunix.net/~viric/soft/ts/ arch = i686 arch = x86_64 license = GPL2 - source = http://vicerveza.homeunix.net/~viric/soft/ts/ts-0.7.5.tar.gz - sha256sums = 216d09dcfbae2f9bfea7582a71494172fe91c33d65499ea01b3bcac0600de96d + source = http://vicerveza.homeunix.net/~viric/soft/ts/ts-1.0.tar.gz + md5sums = c7589cdc28115d8925794d713ff72dba pkgname = ts @@ -2,27 +2,31 @@ # Contributor: lp76 <l.peduto@gmail.com> pkgname=ts -pkgver=0.7.5 +pkgver=1.0 pkgrel=1 pkgdesc="A Unix batch system where the tasks spooled run one after the other" arch=('i686' 'x86_64') url="http://vicerveza.homeunix.net/~viric/soft/ts/" license=('GPL2') source=("http://vicerveza.homeunix.net/~viric/soft/ts/${pkgname}-${pkgver}.tar.gz") -sha256sums=('216d09dcfbae2f9bfea7582a71494172fe91c33d65499ea01b3bcac0600de96d') +md5sums=('c7589cdc28115d8925794d713ff72dba') prepare() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's|$(PREFIX)/man/man1|$(PREFIX)/share/man/man1|g' Makefile + cd "$srcdir/$pkgname-$pkgver" + sed -i 's|$(PREFIX)/man/man1|$(PREFIX)/share/man/man1|g' Makefile + sed -i 's/$(CC) $(LDFLAGS) -o ts/$(CC) $(LDFLAGS) -o tsp/' Makefile + sed -i 's/$(INSTALL) ts/$(INSTALL) tsp/' Makefile + sed -i 's/\(^\|\s\)ts/\1tsp/' ts.1 } build() { - cd "$srcdir/$pkgname-$pkgver" - make + cd "$srcdir/$pkgname-$pkgver" + make } package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX="$pkgdir/usr" install - install -D --mode=0644 TRICKS "$pkgdir/usr/share/doc/ts/TRICKS" + cd "$srcdir/$pkgname-$pkgver" + make PREFIX="$pkgdir/usr" install + install -D --mode=0644 TRICKS "$pkgdir/usr/share/doc/tsp/TRICKS" + mv "$pkgdir/usr/share/man/man1/ts.1" "$pkgdir/usr/share/man/man1/tsp.1.gz" } |