diff options
author | Mattias Andrée <maandree@kth.se> | 2017-12-09 18:35:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-12-09 18:35:40 +0100 |
commit | fa7d2c868354b674c831d1ce54e15ee8da70c76a (patch) | |
tree | d9fffc576aa835cc0aaf2aa79d3bff494b0c77fc | |
parent | Update adjbacklight (diff) | |
download | aur-packages-fa7d2c868354b674c831d1ce54e15ee8da70c76a.tar.gz aur-packages-fa7d2c868354b674c831d1ce54e15ee8da70c76a.tar.bz2 aur-packages-fa7d2c868354b674c831d1ce54e15ee8da70c76a.tar.xz |
Add timeprefix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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 |