summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD31
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0bdffbdf112
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sun Sep 17 07:42:40 UTC 2017
+pkgbase = digdag-bin
+ pkgdesc = Workload Automation System.
+ pkgver = 0.9.16
+ pkgrel = 1
+ url = https://github.com/treasure-data/digdag
+ arch = i686
+ arch = x86_64
+ license = Apache
+ depends = jdk8-openjdk
+ depends = nodejs
+ source_i686 = https://dl.digdag.io/digdag-0.9.16
+ md5sums_i686 = SKIP
+ source_x86_64 = https://dl.digdag.io/digdag-0.9.16
+ md5sums_x86_64 = SKIP
+
+pkgname = digdag-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8c51ac98f9b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Takuya Tominaga <takuya.tominaga.public at gmail dot com>
+
+_pkgname=digdag
+pkgname=$_pkgname-bin
+pkgver=0.9.16
+pkgrel=1
+pkgdesc="Workload Automation System."
+arch=('i686' 'x86_64')
+url="https://github.com/treasure-data/digdag"
+license=('Apache')
+depends=('jdk8-openjdk' 'nodejs')
+
+_dl_url=https://dl.digdag.io
+source_i686=("$_dl_url/$_pkgname-$pkgver"
+)
+source_x86_64=("$_dl_url/$_pkgname-$pkgver"
+)
+md5sums_i686=('SKIP'
+)
+md5sums_x86_64=('SKIP'
+)
+
+
+
+package() {
+ _source_arch="32"
+ [ "$CARCH" = "x86_64" ] && _source_arch="64"
+
+ install -Dm755 "$srcdir/$_pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
+}
+