diff options
author | Florian Preinstorfer | 2015-06-08 19:38:02 +0200 |
---|---|---|
committer | Florian Preinstorfer | 2015-06-08 19:38:02 +0200 |
commit | f6d85e3c8f059fd3fde5b0891ac7aae52fa93d6f (patch) | |
tree | f182c79f4bf4dbb018a094fe8b5f899b0cd13588 | |
download | aur-f6d85e3c8f059fd3fde5b0891ac7aae52fa93d6f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8ea8419b2afe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = baralga + pkgdesc = A simple and lightweight time tracking solution for freelancers and consultants + pkgver = 1.7.6 + pkgrel = 1 + url = http://baralga.github.com + arch = any + license = LGPL3 + depends = java-runtime + options = emptydirs + source = https://github.com/Baralga/baralga/releases/download/v1.7.6/Baralga-Portable-1.7.6.zip + md5sums = 3c5de56ec9c0bf3c54248f19a507565e + +pkgname = baralga + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6368112f3f87 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: nblock <nblock [/at\] archlinux DOT us> +# Contributor: xduugu + +pkgname=baralga +_pkgname=${pkgname/b/B} +pkgver=1.7.6 +pkgrel=1 +pkgdesc="A simple and lightweight time tracking solution for freelancers and consultants" +arch=('any') +url="http://baralga.github.com" +license=('LGPL3') +depends=('java-runtime') +options=(emptydirs) +source=(https://github.com/${_pkgname}/${pkgname}/releases/download/v${pkgver}/${_pkgname}-Portable-${pkgver}.zip) +md5sums=('3c5de56ec9c0bf3c54248f19a507565e') + +package() { + cd "${srcdir}/${_pkgname}-${pkgver//_/-}" + + mkdir -p "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/share/${pkgname}/"{lib,data} + install -m644 "${_pkgname}-${pkgver//_/-}.jar" "${pkgdir}/usr/share/${pkgname}/${pkgname}.jar" + install -m644 lib/* "${pkgdir}/usr/share/${pkgname}/lib/" + #ignore contents of data/ for now ... + + #create startup file + echo "#!/bin/sh" > ${pkgdir}/usr/bin/${pkgname} + echo "exec \$JAVA_HOME/bin/java -jar /usr/share/${pkgname}/${pkgname}.jar \$@" >> ${pkgdir}/usr/bin/${pkgname} + chmod +x ${pkgdir}/usr/bin/${pkgname} +} + +# vim:set ts=2 sw=2 noet: |