Skip to content

Instantly share code, notes, and snippets.

@azenla
Last active December 18, 2015 02:19
Show Gist options
  • Select an option

  • Save azenla/5710257 to your computer and use it in GitHub Desktop.

Select an option

Save azenla/5710257 to your computer and use it in GitHub Desktop.
PKGBUILD for GCPClient
# Contributor: Kenneth Endfinger <kaendfinger@gmail.com>
pkgname=gcpclient
pkgver={CLIENT.VERSION}
pkgrel=1
pkgdesc="GCPClient is the official GCP Client that is written in Java"
arch=('i686' 'x86_64')
url="https://bitbucket.org/directmyfile/gcpclient/"
license=('GPL')
depends=('jre7-openjdk')
makedepends=('apache-ant' 'jdk7-openjdk')
build() {
cd "${srcdir}"
msg "Retreiving GCPClient JAR"
wget http://ci.directmyfile.com:8080/job/GCPClient/lastSuccessfulBuild/artifact/build/libs/GCPClient.jar
msg "Retrieving GCPClient Launcher"
}
package() {
cd "${pkgdir}/"
[ ! -d "./usr/" ] && mkdir -p usr/share/GCPClient usr/bin/
cp "${srcdir}/launcher.sh" ./usr/bin/kenbot
cp -R ${srcdir}/shared/* ./usr/share/KenBot/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment