Compare commits

...

2 Commits

Author SHA1 Message Date
d4c7c7e27f
Use commit hash instead of tag 2023-06-17 19:03:46 -04:00
8a677a31b7
Add .gitignore 2023-06-17 18:51:44 -04:00
3 changed files with 13 additions and 2 deletions

View File

@ -8,7 +8,7 @@ pkgbase = packwiz-installer
makedepends = git
makedepends = java-environment-openjdk<=11
depends = java-environment
source = packwiz-installer::git+https://github.com/packwiz/packwiz-installer.git#tag=v0.5.10
source = packwiz-installer::git+https://github.com/packwiz/packwiz-installer.git#tag=7b6daaf7e552f44888d68dcd8235822dd1c2956e
source = packwiz-installer-bootstrap::git+https://github.com/packwiz/packwiz-installer-bootstrap.git#tag=v0.0.3
source = packwiz-installer.sh
source = packwiz-installer-bootstrap.sh

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
/packwiz-installer-*.tar.zst
/pkg/
/src/
/packwiz-installer-bootstrap/
/packwiz-installer/

View File

@ -9,7 +9,8 @@ license=("MIT")
depends=('java-environment')
makedepends=('git'
'java-environment-openjdk<=11')
source=("$pkgname::git+https://github.com/packwiz/$pkgname.git#tag=v$pkgver"
_tag=7b6daaf7e552f44888d68dcd8235822dd1c2956e # git rev-parse v${pkgver}
source=("$pkgname::git+https://github.com/packwiz/$pkgname.git#tag=$_tag"
"$pkgname-bootstrap::git+https://github.com/packwiz/$pkgname-bootstrap.git#tag=v0.0.3"
"packwiz-installer.sh"
"packwiz-installer-bootstrap.sh")
@ -18,6 +19,11 @@ sha256sums=('SKIP'
'924aff17bf4ad5fd745c5378d39ec883f685a9b0f4f754828cd99bc83c71df6d'
'783990641e80a1b6603264d420ccf0ab6ad5a5c519e05a27162472c1746630cd')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//'
}
prepare() {
cd "$srcdir/$pkgname-bootstrap"
chmod +x gradlew