[arch-commits] Commit in entr/repos (community-x86_64 community-x86_64/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun Dec 23 14:54:11 UTC 2018


    Date: Sunday, December 23, 2018 @ 14:54:10
  Author: ffy00
Revision: 417630

archrelease: copy trunk to community-x86_64

Added:
  entr/repos/community-x86_64/
  entr/repos/community-x86_64/PKGBUILD
    (from rev 417629, entr/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: entr/repos/community-x86_64/PKGBUILD (from rev 417629, entr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-12-23 14:54:10 UTC (rev 417630)
@@ -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