diff options
author | Frederic Bezies | 2018-11-28 08:42:19 +0100 |
---|---|---|
committer | Frederic Bezies | 2018-11-28 08:42:19 +0100 |
commit | 5596dd8e04955647fe190b7b6fe200c31dbc8099 (patch) | |
tree | fb9a4f543fd1cba3c7a490a29d36d758137154e0 | |
parent | 6858fedff8043c1bce0e125d7e8c595f8817291a (diff) | |
download | aur-5596dd8e04955647fe190b7b6fe200c31dbc8099.tar.gz |
November 28th, 2018 update
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 56 |
2 files changed, 54 insertions, 7 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Wed Jul 27 04:29:28 UTC 2016 pkgbase = watchman-git pkgdesc = Watches files and records, or triggers actions, when they change. - pkgver = r982.2565188 + pkgver = v4.9.0.r535.gc12ab4ca pkgrel = 1 url = https://facebook.github.io/watchman/ arch = i686 @@ -10,6 +8,7 @@ pkgbase = watchman-git license = Apache makedepends = git depends = pcre + depends = openssl conflicts = watchman options = !libtool options = staticlibs @@ -1,14 +1,15 @@ +# Maintainer: Frederic Bezies < fredbezies at gmail dot com > # Maintainer: Mario Rodas <marsam@users.noreply.github.com> pkgname=watchman-git _gitname=watchman -pkgver=r982.2565188 +pkgver=v4.9.0.r535.gc12ab4ca pkgrel=1 pkgdesc='Watches files and records, or triggers actions, when they change.' arch=('i686' 'x86_64') url='https://facebook.github.io/watchman/' license=('Apache') -depends=('pcre') +depends=('pcre' 'openssl') makedepends=('git') conflicts=('watchman') options=('!libtool' 'staticlibs') @@ -18,7 +19,7 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_gitname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -27,7 +28,54 @@ build() { ./configure --prefix=/usr \ --with-pcre \ --without-python \ - --enable-statedir="/var/lib/${_gitname}" + --enable-statedir="/var/lib/${_gitname}"\ + --enable-lenient # to work around a gcc 8.x bug ; https://github.com/facebook/watchman/issues/638 + make +} + +check() { + cd "${srcdir}/${_gitname}" + make check +} + +package() { + cd "${srcdir}/${_gitname}" + make DESTDIR="${pkgdir}" install +} + +# Local Variables: +# compile-command: "makepkg -sm && mksrcinfo" +# End:# Maintainer: Mario Rodas <marsam@users.noreply.github.com> + +pkgname=watchman-git +_gitname=watchman +pkgver=v4.9.0.r535.gc12ab4ca +pkgrel=1 +pkgdesc='Watches files and records, or triggers actions, when they change.' +arch=('i686' 'x86_64') +url='https://facebook.github.io/watchman/' +license=('Apache') +depends=('pcre' 'openssl') +makedepends=('git') +conflicts=('watchman') +options=('!libtool' 'staticlibs') +provides=() +source=("${_gitname}::git+https://github.com/facebook/watchman.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/${_gitname}" + ./autogen.sh + ./configure --prefix=/usr \ + --with-pcre \ + --without-python \ + --enable-statedir="/var/lib/${_gitname}"\ + --enable-lenient # to work around a gcc 8.x bug ; https://github.com/facebook/watchman/issues/638 make } |