summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2019-04-11 16:24:56 +0200
committerFrederik “Freso” S. Olesen2019-04-11 16:32:40 +0200
commit0db537931692d0e54e2d45e76c10ece02d8dbeea (patch)
tree58411c0683f8e241ac98fc909c5b024b4efe438c
parent849eedea76a16c5ed5defd28adedf73625301695 (diff)
downloadaur-0db537931692d0e54e2d45e76c10ece02d8dbeea.tar.gz
Create launch shell script in build()
Seems like more of a build() step than a prepare() step.
-rw-r--r--.SRCINFO2
-rw-r--r--ChangeLog5
-rw-r--r--PKGBUILD4
3 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c53a8c2aea6..05e512db172 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = amidst
pkgdesc = Advanced Minecraft Interface and Data/Structure Tracking
pkgver = 4.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/toolbox4minecraft/amidst
changelog = ChangeLog
arch = any
diff --git a/ChangeLog b/ChangeLog
index 18e17b7e081..aabdae41146 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2019-04-11 Frederik “Freso” S. Olesen <freso.dk@gmail.com>
+ * 4.1-3 :
+ Minor refactor of PKGBUILD, moving launch script building to build().
+
+2019-04-11 Frederik “Freso” S. Olesen <freso.dk@gmail.com>
+
* 4.1-2 :
Now installs program icon as per freedesktop.org’s Icon Theme Specification.
diff --git a/PKGBUILD b/PKGBUILD
index 1b1fc738a1b..930d651fca8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _version='4.1'
pkgver=${_version//_/-}
_jarver="v${_version}"
_jarfile="${pkgname}-${_jarver/./-}.jar"
-pkgrel=2
+pkgrel=3
pkgdesc='Advanced Minecraft Interface and Data/Structure Tracking'
arch=('any')
license=('GPL3')
@@ -22,7 +22,7 @@ md5sums=('1f3d6157e4d0339ad4f2d7996a0f88a6'
'3c6900ac68e3175768322e684f9f1bcb'
'0d90c979cbd12aa7d08d05f5f3299ce7')
-prepare() {
+build() {
cd "$srcdir"
#Create shell script to launch the application