diff options
-rw-r--r-- | timeprefix/PKGBUILD | 27 | ||||
l--------- | timeprefix/upload | 1 |
2 files changed, 28 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" +} diff --git a/timeprefix/upload b/timeprefix/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/timeprefix/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |