diff options
-rw-r--r-- | pcr/entr/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/entr/PKGBUILD b/pcr/entr/PKGBUILD new file mode 100644 index 000000000..6a7dd72e8 --- /dev/null +++ b/pcr/entr/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Veeti Paananen <veeti.paananen@rojekti.fi> +pkgname=entr +pkgver=3.2 +pkgrel=1 +pkgdesc="Run arbitrary commands when files change" +arch=('i686' 'x86_64' 'armv7h' 'armv6h') +url="http://entrproject.org/" +license=('custom:ISC', 'custom:BSD2') +depends=('glibc') +source=("http://entrproject.org/code/entr-$pkgver.tar.gz") +sha256sums=('b1eee00afbeccf03010c1c557436854be6aaf0ef9b72ab8d44b94affdd7d7146') + +# bad tar +_srcdir='eradman-entr-c20e34ec153a' + +build() { + cd "$srcdir/$_srcdir" + + ./configure + make +} + +check() { + cd "$srcdir/$_srcdir" + + make -k test +} + +package() { + cd "$srcdir/$_srcdir" + + make PREFIX="$pkgdir/usr" install + install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |