diff options
author | pandada8 | 2023-02-03 16:50:20 +0800 |
---|---|---|
committer | pandada8 | 2023-02-03 16:50:20 +0800 |
commit | 5a8c1dbbdc8dd09a7e8fb56bb40924ee8fc62c4f (patch) | |
tree | 9f83625ef442b91b7e938ee0630a8d8169de1bf2 /PKGBUILD | |
download | aur-inotify-info-git.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..049b780432ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Pandada8 < pandada8@gmail.com > + + +pkgname=inotify-info-git +_repo_name=inotify-info +pkgver=r26.5710dd1 +pkgrel=1 +pkgdesc='Linux inotify info reporting app' +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') +url='https://github.com/mikesart/inotify-info' +license=('MIT') +source=("git+${url}.git") +md5sums=(SKIP) + +build() { + cd ${srcdir}/$_repo_name + make +} + +pkgver() { + cd ${srcdir}/$_repo_name + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd ${srcdir}/$_repo_name + install _release/inotify-info -Dm755 ${pkgdir}/usr/bin/inotify-info +} + |