summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rittmeister2021-09-06 21:54:52 +0200
committerMichael Rittmeister2021-09-06 21:54:52 +0200
commit6874cd4ac7485403b9af310bcdf315d2cd78cce6 (patch)
tree2e84f4a703adeb7561a1fda08577f9fbc298db48
parent2934133c0698425a1d4ad10023ac4d60090e328e (diff)
downloadaur-6874cd4ac7485403b9af310bcdf315d2cd78cce6.tar.gz
Remove broken pkgver()
-rw-r--r--PKGBUILD5
1 files changed, 0 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4cb1eb1a5ac..4a1b1acc091 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,11 +10,6 @@ options=(!strip)
source=("https://github.com/DRSchlaubi/mcserv/releases/download/v$pkgver/$pkgname-$pkgver-linux.tar.gz")
sha256sums=("f66b44a740f55bac2bc7a0bb29a47fd125ac6e84895445513cef15d91cfe8bb4")
-pkgver() {
- newVer=$(curl --silent https://api.github.com/repos/DRSchlaubi/mcserv/releases/latest | jq -r '."tag_name"')
- printf ${newVer#v}
-}
-
package() {
cd "$srcdir"
mkdir -p "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin"