Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

Commit

Permalink
pkgver()
Browse files Browse the repository at this point in the history
  • Loading branch information
voobscout committed Sep 23, 2017
1 parent 9a22172 commit adc916c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-jwrdegoede/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ build() {
pkgver() {
url="https://raw.githubusercontent.com/jwrdegoede/linux-sunxi/master/Makefile"
local ver=($(curl -fssL $url | head -n4 | awk -F'=' '{print $2}' | sed 's/ //g'))
printf "%s" "${ver[0]}.${ver[1]}.${ver[2]}${ver[3]}"
printf "%s" "${ver[0]}.${ver[1]}.${ver[2]}${ver[3]/-/}"
}

_package() {
Expand Down

0 comments on commit adc916c

Please sign in to comment.