diff options
author | Michał Wojdyła | 2022-08-13 02:00:02 +0200 |
---|---|---|
committer | Michał Wojdyła | 2022-08-13 02:00:02 +0200 |
commit | 44c6830d05b1daf7ec175bd2af51f1dfd764cc18 (patch) | |
tree | 6956f4a4204e5e7a9f3a6a36df9839ee7abfd962 | |
parent | abcabcb3ccee0c25b364ad4455832258cbb63912 (diff) | |
download | aur-44c6830d05b1daf7ec175bd2af51f1dfd764cc18.tar.gz |
fix build
-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() |