From fa7d2c868354b674c831d1ce54e15ee8da70c76a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 9 Dec 2017 18:35:40 +0100 Subject: Add timeprefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- timeprefix/PKGBUILD | 27 +++++++++++++++++++++++++++ timeprefix/upload | 1 + 2 files changed, 28 insertions(+) create mode 100644 timeprefix/PKGBUILD create mode 120000 timeprefix/upload (limited to 'timeprefix') 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 -- cgit v1.2.3-70-g09d2