summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD9
-rwxr-xr-xdynamodb2
2 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c246cb87f51..d9d1e8ce6d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,18 @@ pkgname=dynamodb
pkgver=1.1
pkgrel=1
pkgdesc="Amazon DynamoDB Local instance. Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale."
+_upstreamver=2016-01-07_1.0
+pkgver=${_upstreamver//-/_}
arch=('any')
url="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html"
license=('custom:DynamoDB Local License Agreement')
depends=('java-runtime')
install=dynamodb.install
-source=('config.cfg' 'dynamodb' 'dynamodb.service' "http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_2015-07-16_${pkgver}.tar.gz")
-sha256sums=('6a2d271d62de9e4e48bd4bd866a72283dec6bacc097c2f6262ab19fc0feb34d9' '9a8c0b87b9a3529cb07c6362d586c12e304d2958da71961d51dfc557a258b848' '4024db91c14087290fbce707cadead1ea013dc845216e9758a485b7d2f67c3ca' '5868fd4b9f624001cda88059af7a54f412a4794dea0d3497e7c57470bfb272fa')
+source=('config.cfg' 'dynamodb' 'dynamodb.service' "http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_${_upstreamver}.tar.gz")
+sha256sums=('6a2d271d62de9e4e48bd4bd866a72283dec6bacc097c2f6262ab19fc0feb34d9'
+ '0dedc4a8f11a40e1b2f914663bbd42a5be8c1641fb034a15c2ba1b0698769f90'
+ '4024db91c14087290fbce707cadead1ea013dc845216e9758a485b7d2f67c3ca'
+ 'f4d8594e08f8f1edf37eefd43206677559324ef7b8c2a50436c1bf76528cf1f1')
package() {
diff --git a/dynamodb b/dynamodb
index 5842790697d..c3daa93c23b 100755
--- a/dynamodb
+++ b/dynamodb
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ -a ./config.cfg ]; then
+if [ -e /etc/dynamodb/config.cfg ]; then
source /etc/dynamodb/config.cfg
else
shared=true