Last active
December 21, 2015 07:48
-
-
Save Rayman2200/6273253 to your computer and use it in GitHub Desktop.
craftbukkit-plugin-backup 2.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=craftbukkit-plugin-backup | |
pkgver="2.6" | |
pkgrel=1 | |
pkgdesc="Backup plugin for Bukkit" | |
makedepends=('git' 'maven') | |
arch=(any) | |
url="http://bukkitbackup.com/" | |
license=('GPL') | |
depends=('craftbukkit>=1.6.2r0.1') | |
source=('git+https://github.com/dpraul/Backup.git') | |
md5sums=('SKIP') | |
_gitversion=9baee0a6a20ced5402c80c7b2eba7667b0d0f2d8 | |
_gitname=Backup | |
build() { | |
cd "$_gitname" | |
git reset --hard $_gitversion | |
msg "Starting build..." | |
mvn clean package | |
} | |
package() { | |
install -Dm 644 "$srcdir/$_gitname/target/Backup.jar" "$pkgdir/srv/craftbukkit/plugins/Backup.jar" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment