diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 11 deletions
@@ -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 - @@ -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() |