diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..696aa73c2fa3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=inotify-tools-git +pkgver=3.20.1.r0.ge203934 +pkgrel=1 +pkgdesc="C library and a set of command-line programs for Linux providing a simple interface to inotify" +arch=('i686' 'x86_64') +url="https://github.com/rvoicilas/inotify-tools/wiki" +license=('GPL') +depends=('glibc') +makedepends=('git') +provides=('inotify-tools') +conflicts=('inotify-tools') +options=('staticlibs') +source=("git+https://github.com/rvoicilas/inotify-tools.git") +sha256sums=('SKIP') + + +pkgver() { + cd "inotify-tools" + + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "inotify-tools" + + ./autogen.sh + ./configure --prefix="/usr" + make +} + +check() { + cd "inotify-tools" + + make check +} + +package() { + cd "inotify-tools" + + make DESTDIR="$pkgdir" install +} |