summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-04-22 07:18:11 +0300
committerDimitris Kiziridis2020-04-22 07:18:11 +0300
commit0d6a9adc1d4d35a2d78574ada52ecf3e8462bb3a (patch)
treefd03d2f3f8867db84bb76b2d022b11e4b274bef3
downloadaur-0d6a9adc1d4d35a2d78574ada52ecf3e8462bb3a.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..281ce1f11fb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = awsenv-bin
+ pkgdesc = AWS environment config loader
+ pkgver = 0.0.7
+ pkgrel = 1
+ url = https://github.com/soniah/awsenv
+ arch = x86_64
+ license = MIT
+ makedepends = go-pie
+ provides = awsenv
+ source = https://github.com/soniah/awsenv/releases/download/v0.0.7/awsenv_0.0.7_linux_amd64.tar.gz
+ sha256sums = c86136ac89d995e1bb08a9bb590308e0d705b61369c257444cbd58f0fd4b2ce0
+
+pkgname = awsenv-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c007ef6a5b7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=awsenv-bin
+pkgver=0.0.7
+pkgrel=1
+pkgdesc="AWS environment config loader"
+arch=('x86_64')
+url='https://github.com/soniah/awsenv'
+license=('MIT')
+provides=("${pkgname%-bin}")
+makedepends=('go-pie')
+source=("${url}/releases/download/v${pkgver}/awsenv_${pkgver}_linux_amd64.tar.gz")
+sha256sums=('c86136ac89d995e1bb08a9bb590308e0d705b61369c257444cbd58f0fd4b2ce0')
+
+package() {
+ install -Dm755 "${srcdir}/${pkgname%-bin}_${pkgver}_linux_amd64/${pkgname%-bin}" \
+ -t "${pkgdir}/usr/bin/"
+ install -Dm644 "${srcdir}/${pkgname%-bin}_${pkgver}_linux_amd64/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE"
+ install -Dm644 "${srcdir}/${pkgname%-bin}_${pkgver}_linux_amd64/README.md" \
+ -t "${pkgdir}/usr/share/doc/${pkgname%-bin}"
+} \ No newline at end of file