diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-08-13 12:46:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:14:57 -0300 |
commit | b1870d42cb3fc4d4b2f3cb7488d6cb1442dbe48e (patch) | |
tree | d79c2c77f56efe38e1ac741f498a9078526fe7ef /pcr/entr | |
parent | b16d50a21274437da1d49a6a146dc602242f97c8 (diff) | |
download | abslibre-b1870d42cb3fc4d4b2f3cb7488d6cb1442dbe48e.tar.gz abslibre-b1870d42cb3fc4d4b2f3cb7488d6cb1442dbe48e.tar.bz2 abslibre-b1870d42cb3fc4d4b2f3cb7488d6cb1442dbe48e.zip |
entr: Run arbitrary commands when files change
Diffstat (limited to 'pcr/entr')
-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" +} |