[arch-commits] Commit in entr/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Dec 23 14:53:59 UTC 2018
Date: Sunday, December 23, 2018 @ 14:53:58
Author: ffy00
Revision: 417629
upgpkg: entr 4.1-2
Added:
entr/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-23 14:53:58 UTC (rev 417629)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=entr
+pkgver=4.1
+pkgrel=2
+pkgdesc='Run arbitrary commands when files change'
+arch=('x86_64')
+url='http://entrproject.org'
+license=('MIT')
+makedepends=('mercurial')
+source=("$pkgname::hg+https://bitbucket.org/eradman/entr#tag=$pkgname-$pkgver")
+sha512sums=('SKIP')
+
+build() {
+ cd "$srcdir"/$pkgname
+
+ export PREFIX='/usr'
+
+ ./configure
+
+ make
+}
+
+check() {
+ cd "$srcdir"/$pkgname
+
+ make test
+}
+
+package() {
+ cd "$srcdir"/$pkgname
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list