ayaports/user/papermc-plugin-vault/APKBUILD
Antoine Martin 56a29dc807
All checks were successful
/ lint (pull_request) Successful in 32s
/ deploy-x86_64 (pull_request) Successful in 40s
/ build-x86_64 (pull_request) Successful in 1m9s
/ deploy-aarch64 (pull_request) Successful in 56s
/ build-aarch64 (pull_request) Successful in 2m41s
user/papermc-plugin-vault: new aport
2024-12-24 14:05:52 -05:00

42 lines
1.7 KiB
Text

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-vault
pkgver=1.7.3
pkgrel=0
pkgdesc="Vault of common APIs for Bukkit Plugins"
arch='noarch'
url="https://github.com/MilkBowl/Vault"
license="MIT"
depends="papermc>=1.8.8"
makedepends="
openjdk21-jdk
maven
"
source="
vault-$pkgver.tar.gz::https://github.com/MilkBowl/Vault/archive/refs/tags/1.7.3.tar.gz
2022cb0_support-newer-jdk-for-building.patch
868_update-bstats.patch
823_add-option-to-silence-no-update-logs.patch
1996cfa_finish-removal-native-support-for-abandonned-economy-plugins.patch
"
builddir="$srcdir"/Vault-$pkgver
build() {
mvn compile
mvn package
}
check() {
mvn test
}
package() {
install -Dm644 "$builddir"/target/Vault-$pkgver.jar "$pkgdir/var/lib/papermc/plugins/Vault.jar"
}
sha512sums="
3d154945e63b7824f0a0e0900fe6db7dc77c97f1967c29760d27a3322ca0b95d76965d8574c24b7cc0e86e822f9b5e3f860cb7167796351c9a921ddf5ef3d36b vault-1.7.3.tar.gz
8b7197b25acf06e545f10dd7dc5447aab6a73d3455bf89b01a4b466331eefa77c86152a47818348cfb901a0d65cff115b75ae37e0f8bb702c35cf13a3942a484 2022cb0_support-newer-jdk-for-building.patch
9124d0feef633f405c3aea6081d4b749df9828d99d0c93d09ba52adb680a781288523d2dfc71be566b8cafd58ac97f152258174ab02294c6e97020a033ee0faa 868_update-bstats.patch
b76b385ff62a955430db8d4d60592983e7475e1e63cd6a9e8c0be0a035662ec4472c6f9c8f09125745c198074695b3e04fe6ad96cbafa5faaba72bcf1bfee896 823_add-option-to-silence-no-update-logs.patch
ea5e36649e65ca690fd8a075bb5f251a8b449ab780a546007e242ec465c58c8c5ae346efac5f1b52e3287f4f400c658f745d130d1e361ecca3436dcf5cb46fb5 1996cfa_finish-removal-native-support-for-abandonned-economy-plugins.patch
"