diff options
author | kenshen112 | 2020-05-09 14:06:13 -0700 |
---|---|---|
committer | kenshen112 | 2020-05-09 14:06:13 -0700 |
commit | cd8b01256461b610c35a875f016d6f8be3f4c096 (patch) | |
tree | af570a567f4a431bc410e39d50ab610c8f3100b1 | |
parent | 7486ba13ebb6f85859a2fd0aa644df3d491b6780 (diff) | |
download | aur-cd8b01256461b610c35a875f016d6f8be3f4c096.tar.gz |
Fixed pkgver and added auto update. Updated to IPU fix ver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = dobiestation pkgdesc = A Dog based emulator for the ps2 - pkgver = e4b4313be82ca341c862308ebe466b473d5acef9 + pkgver = r1574.12be590 pkgrel = 1 url = https://github.com/PSI-Rockin/DobieStation/ arch = x86_64 @@ -1,6 +1,6 @@ pkgname=dobiestation pkgrel=1 -pkgver=72feb6d1009b072ad18387fd3356a9044dc0776b +pkgver=r1574.12be590 pkgdesc='A Dog based emulator for the ps2' arch=(x86_64) url=https://github.com/PSI-Rockin/DobieStation/ @@ -16,6 +16,17 @@ provides=(dobiestation) conflicts=(dobiestation) replaces=(dobiestation) +pkgver() +{ + cd "DobieStation" + ( + set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + + prepare() { git clone https://github.com/PSI-Rockin/DobieStation.git |