diff options
Diffstat (limited to '')
-rw-r--r-- | timeprefix/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/timeprefix/PKGBUILD b/timeprefix/PKGBUILD new file mode 100644 index 0000000..aae7f35 --- /dev/null +++ b/timeprefix/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=timeprefix +pkgver=2 +pkgrel=1 +pkgdesc="Prefix each line with the time it as written" +arch=(i686 x86_64) +url="https://github.com/maandree/timeprefix" +license=('custom:ISC') +depends=() +source=($url/archive/$pkgver.tar.gz) +sha256sums=(00961089a5c56b41b0bf53da23818874dfeeb7644cf32a4e126df788d6f4d2e1) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} |