From b1870d42cb3fc4d4b2f3cb7488d6cb1442dbe48e Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 13 Aug 2015 12:46:27 -0300 Subject: entr: Run arbitrary commands when files change --- pcr/entr/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pcr/entr/PKGBUILD 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 +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" +} -- cgit v1.2.3-54-g00ecf