summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Skowronek2015-10-11 18:38:41 +0200
committerArthur Skowronek2015-10-11 18:49:38 +0200
commit1b484fb64264772b096636eba8ae8d256a6613ce (patch)
treeb9ff629765bbdb791b48679992c08c5686c5e2ec
downloadaur-1b484fb64264772b096636eba8ae8d256a6613ce.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD37
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4ab920110e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = deis-client
+ pkgdesc = Command line interface client for Deis, an open source PaaS that makes it easy to deploy and manage applications on your own servers.
+ pkgver = 1.11.0
+ pkgrel = 1
+ url = http://deis.io/
+ arch = x86_64
+ arch = i686
+ arch = armv7h
+ license = APACHE
+ makedepends = go
+ makedepends = godep
+ source = https://github.com/deis/deis/archive/v1.11.0.tar.gz
+ sha256sums = ae53da596e44cbeccbf0d0f05186538f97d42344f379ed2866bf0f7b0ba018cb
+
+pkgname = deis-client
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6502455bb99
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/src
+*.tar.xz
+*.tar.gz \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fe66d6deae5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Arthur Skowronek <eisensheng@mailbox.org>
+
+pkgname="deis-client"
+pkgver=1.11.0
+pkgrel=1
+pkgdesc="Command line interface client for Deis, an open source PaaS"`
+ `" that makes it easy to deploy and manage applications"`
+ `" on your own servers."
+arch=('x86_64' 'i686' 'armv7h')
+url='http://deis.io/'
+license=('APACHE')
+makedepends=('go' 'godep')
+source=("https://github.com/deis/deis/archive/v${pkgver}.tar.gz")
+sha256sums=('ae53da596e44cbeccbf0d0f05186538f97d42344f379ed2866bf0f7b0ba018cb')
+
+
+prepare() {
+ cd "${srcdir}"
+
+ mkdir -p 'src/github.com/deis'
+ mv "deis-${pkgver}" 'src/github.com/deis/deis'
+}
+
+
+build() {
+ cd "${srcdir}/src/github.com/deis/deis/client"
+ GOPATH="${srcdir}" godep get
+}
+
+
+package() {
+ cd "${srcdir}"
+
+ install -Dm755 bin/client "${pkgdir}/usr/bin/deis"
+ install -Dm644 'src/github.com/deis/deis/client/LICENSE' \
+ "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}