mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
fix pkgver issue
This commit is contained in:
parent
9eb6229c65
commit
b600d6092b
2 changed files with 4 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = kew-git
|
||||
pkgdesc = A command-line music player
|
||||
pkgver = v2.8.2.90f5f14
|
||||
pkgver = v3.0.0rc1.40354d4
|
||||
pkgrel = 1
|
||||
url = https://github.com/ravachol/kew
|
||||
arch = x86_64
|
||||
|
|
|
|||
5
PKGBUILD
Executable file → Normal file
5
PKGBUILD
Executable file → Normal file
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: <agustinballesteros04@gmail.com>
|
||||
pkgname=kew-git
|
||||
pkgrel=1
|
||||
pkgver=v2.8.2.90f5f14
|
||||
pkgver=v3.0.0rc1.40354d4
|
||||
pkgdesc="A command-line music player"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/ravachol/kew"
|
||||
|
|
@ -18,7 +18,7 @@ pkgver() {
|
|||
cd "$srcdir/kew"
|
||||
local tag=$(git tag | sort | tail -n1)
|
||||
local commit_hash=$(git rev-parse --short HEAD)
|
||||
echo "${tag}.${commit_hash}"
|
||||
echo "${tag}.${commit_hash}" | sed 's/[:\/\-]//g'
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
@ -32,3 +32,4 @@ package() {
|
|||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm644 "$srcdir/kew/docs/kew-manpage.mdoc" "$pkgdir/usr/share/man/man1/kew.1"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue