diff options
author | Jeremy Audet | 2015-06-08 20:19:35 -0400 |
---|---|---|
committer | Jeremy Audet | 2015-06-08 20:19:35 -0400 |
commit | 5bbd4614a947032bb76f225e7eefab3b9e405ee3 (patch) | |
tree | 324effda8370d26e3cc6ea1631cf9ae79526fad1 | |
download | aur-5bbd4614a947032bb76f225e7eefab3b9e405ee3.tar.gz |
Initial commit (version r426)
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 39 | ||||
-rw-r--r-- | splitter | 2 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..386d7ef19016 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = splitter + pkgdesc = Utility for splitting OpenStreetMap maps into tiles. + pkgver = r426 + pkgrel = 1 + url = http://www.mkgmap.org.uk/ + arch = any + license = GPL + depends = java-runtime + depends = sh + depends = libcups + source = http://www.mkgmap.org.uk/snapshots/splitter-r426.tar.gz + source = splitter + sha256sums = 9f5723b52b10c76d72da5c7c656d376869417274512850297beff85d181bbd7d + sha256sums = 40f984bc54a946678eeb3d554a84fad32d6a41038d42990d5336d4b1bdfbc63d + +pkgname = splitter + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7794eab053cd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> +# +# namcap warns that 'libcups' is an unnecessary dependency. This is untrue. +# Splitter will produce the following exception if libcups is not installed: +# +# Exception in thread "main" java.lang.UnsatisfiedLinkError: +# /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/headless/libmawt.so: +# libcups.so.2: cannot open shared object file: No such file or directory +# +# namcap also warns that 'java-environment' is a dependency. This is untrue: +# java-runtime suffices. +# + +pkgname=splitter +pkgver=r426 +pkgrel=1 +pkgdesc='Utility for splitting OpenStreetMap maps into tiles.' +url='http://www.mkgmap.org.uk/' +license=(GPL) +arch=(any) +depends=(java-runtime sh libcups) +source=("http://www.mkgmap.org.uk/snapshots/${pkgname}-${pkgver}.tar.gz" + "${pkgname}") +sha256sums=('9f5723b52b10c76d72da5c7c656d376869417274512850297beff85d181bbd7d' + '40f984bc54a946678eeb3d554a84fad32d6a41038d42990d5336d4b1bdfbc63d') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install the executable and jar file. + install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${pkgname}.jar" \ + "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" + + # Install libraries. Destination dir created when installing jar file. + cp -r lib/ "${pkgdir}/usr/share/java/${pkgname}/" +} + +# vim:set ts=2 sw=2 et: diff --git a/splitter b/splitter new file mode 100644 index 000000000000..a8bf5f8452ee --- /dev/null +++ b/splitter @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +java -jar /usr/share/java/splitter/splitter.jar "$@" |