summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRafael Fontenelle2020-06-28 09:52:11 -0300
committerRafael Fontenelle2020-06-28 09:53:34 -0300
commit96474444732a4bc85fa251a30a357c38af2d2ba7 (patch)
tree5de7f14c25a5cee52da6c727c73ccd7ecb9a2ec7 /PKGBUILD
parent638e7c54f4ed635cfb3eeb5e2e6e780a131ee913 (diff)
downloadaur-direvent-git.tar.gz
Update to 5.2.r2.g152e1ec
- Use a better pkgver() command - https on url field - check() keep going on error
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e9d2ef06a58..8e9631c504d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
-# Maintainer: rafaelff <rafaelff@gnome.org>
+# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
pkgname=direvent-git
-pkgver=5.1.90.r144.d744882
+pkgver=5.2.r2.g152e1ec
pkgrel=1
pkgdesc="Daemon that monitors events in the file system directories"
arch=('x86_64')
-url="http://www.gnu.org.ua/software/direvent/"
+url="https://www.gnu.org.ua/software/direvent/"
license=("GPL")
conflicts=('direvent')
provides=('direvent')
@@ -17,18 +17,14 @@ md5sums=('SKIP' 'SKIP')
pkgver() {
cd direvent
-
- v=`grep AC_INIT configure.ac | cut -d[ -f3 | cut -d] -f1` # get version
- r=`git rev-list --count HEAD` # get git revision
- h=`git rev-parse --short HEAD` # get sha1's short output
- printf "$v.r$r.$h"
+ git describe --long | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd direvent
git submodule init
- git config submodule.grecs.url $srcdir/grecs
+ git config submodule.grecs.url "$srcdir"/grecs
git submodule update
./bootstrap
@@ -42,7 +38,7 @@ build() {
check() {
cd direvent
- make check
+ make -k check
}
package() {