summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9976d80d9cd7..ca15a316451d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
pkgbase = mentohust-git
pkgdesc = A Ruijie V4 supplicant on Linux and MacOS
- pkgver = fd0da07
+ pkgver = 4.0.alpha2.r43.g857f5a1
pkgrel = 1
url = https://github.com/hyrathb/mentohust
install = mentohust-git.install
arch = any
license = GPL
- makedepends = autoconf
- makedepends = automake
- makedepends = make
- makedepends = gcc
makedepends = git
depends = libpcap
optdepends = libnotify
- source = git://github.com/hyrathb/mentohust.git
+ provides = mentohust
+ conflicts = mentohust
+ source = git+https://github.com/hyrathb/mentohust.git
sha256sums = SKIP
pkgname = mentohust-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 805dbc24c757..e3c749e5e014 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mentohust-git
-pkgver=fd0da07
+pkgver=4.0.alpha2.r43.g857f5a1
pkgrel=1
pkgdesc="A Ruijie V4 supplicant on Linux and MacOS"
arch=('any')
@@ -7,8 +7,10 @@ license=('GPL')
url="https://github.com/hyrathb/mentohust"
depends=('libpcap')
optdepends=('libnotify')
-makedepends=('autoconf' 'automake' 'make' 'gcc' 'git')
-source=('git://github.com/hyrathb/mentohust.git')
+makedepends=('git')
+provides=('mentohust')
+conflicts=('mentohust')
+source=('git+https://github.com/hyrathb/mentohust.git')
sha256sums=('SKIP')
install=$pkgname.install
@@ -22,7 +24,7 @@ build()
pkgver() {
cd mentohust
- printf "%s" "$(git describe --always | sed 's/-/_/g')"
+ git describe --long --tags | sed 's/^V//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package()