summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalachi Soord2020-05-13 23:10:40 +0200
committerMalachi Soord2020-05-13 23:10:40 +0200
commit56985be3518e3667aa27a6aa0e1ab82f394546af (patch)
tree259ec8728ab3df17ba18247b5059ef368abad1cb
downloadaur-56985be3518e3667aa27a6aa0e1ab82f394546af.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD27
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a06912d1ed8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = arm
+ pkgdesc = Armory CLI or better know as arm cli is a tool that let you render dinghyfiles offline.
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/armory-io/arm
+ arch = x86_64
+ license = Apache
+ makedepends = go-pie
+ depends = glibc
+ source = https://github.com/armory-io/arm/archive/1.0.0.zip
+ sha512sums = f611dc0561d9eb586843e791d219f25ec8c80f5651e14ce1367a1f757d9e46fa0ce31cbf8e0e314e0747ae04e2dfeaaca186f64a5dc23529ba9e0b4124ef4c02
+
+pkgname = arm
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..97944ec226a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/pkg/
+/src/
+*.tar.xz
+*.zip
+*.tar.gz \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c5a0f982742
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Malachi Soord <me@malachisoord.com>
+
+pkgname=arm
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Armory CLI or better know as arm cli is a tool that let you render dinghyfiles offline."
+arch=('x86_64')
+url="https://github.com/armory-io/arm"
+license=('Apache')
+depends=('glibc')
+makedepends=('go-pie')
+source=("https://github.com/armory-io/arm/archive/$pkgver.zip")
+sha512sums=('f611dc0561d9eb586843e791d219f25ec8c80f5651e14ce1367a1f757d9e46fa0ce31cbf8e0e314e0747ae04e2dfeaaca186f64a5dc23529ba9e0b4124ef4c02')
+
+build() {
+ cd $pkgname-$pkgver
+ go build \
+ -trimpath \
+ -ldflags "-X github.com/armory-io/arm/cmd.enableVersionCheck=offbydefault -X github.com/armory-io/arm/cmd.currentVersion=$PKGVER -extldflags ${LDFLAGS}" \
+ -o $pkgname .
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm0755 $pkgname "$pkgdir/usr/bin/$pkgname"
+}