diff options
author | Martin T. H. Sandsmark | 2021-08-21 15:37:39 +0200 |
---|---|---|
committer | Martin T. H. Sandsmark | 2021-08-21 15:38:10 +0200 |
commit | e9f5e924d98b6c8b773ccfec42f290d648914a08 (patch) | |
tree | 9aeba322ac384e7f0bdceb7d0de0a8cdcbe226c5 /PKGBUILD | |
download | aur-e9f5e924d98b6c8b773ccfec42f290d648914a08.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ec16c19e023 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=journal-watch-git +pkgver=7.91f43f4 +pkgrel=1 +pkgdesc='Like journalctl -f but with username prefixed' +url='https://github.com/sandsmark/journal-watch' +arch=('x86_64' 'i686') +license=('GPL2') +makedepends=('gcc' 'git') +depends=('systemd-libs') +source=("git+https://github.com/sandsmark/journal-watch.git") +md5sums=('SKIP') + +pkgver() { + cd journal-watch + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd journal-watch + make +} + +package() { + cd journal-watch + install -D -m4755 journal-watch -t "${pkgdir}/usr/bin" +} |