summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoah2021-05-03 11:32:01 -0500
committerNoah2021-05-03 11:32:01 -0500
commit92eb6588d6a587cb09408f397a76950fe31a267a (patch)
treeb793e4587ab2a996aa73d1a6761f82576fd5bd19
parentf1379dc65cbf286cef7f5f30ec66bb2b687069a9 (diff)
downloadaur-92eb6588d6a587cb09408f397a76950fe31a267a.tar.gz
Update method of getting pkgver
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d7dc096fc14..197b763c434 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,13 +41,12 @@ sha1sums=('SKIP'
pkgver() {
cd "$srcdir/sm64plus"
-
- printf "%s" "$(cat README.md | grep -Po '### v\K[0-9\.]+' | head -n1)"
+ printf "%s" "$(cat VERSION | sed 's/^v//')"
}
build() {
cd "$srcdir/sm64plus"
- SM64PLUS_BASEROM_us="$srcdir/baserom.us.z64" make -j4
+ SM64PLUS_BASEROM_us="$srcdir/baserom.us.z64" make -j "$(nproc)"
convert star.ico[1] star.png
}