summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Grossar2020-07-27 08:58:17 +0200
committerLukas Grossar2020-07-27 08:58:17 +0200
commit695bc5cd6cd4bed8dfb2e285315493c9b415cc16 (patch)
treee334e6b9937a25fefec2b2a64b16f19539acf2b3
downloadaur-695bc5cd6cd4bed8dfb2e285315493c9b415cc16.tar.gz
initial release with v0.2.1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD16
2 files changed, 28 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..a71e5e767426
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = yh-bin
+ pkgdesc = A YAML syntax highlighter for the CLI
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = https://github.com/andreazorzetto/yh
+ arch = x86_64
+ license = Apache
+ source = https://github.com/andreazorzetto/yh/releases/download/v0.2.1/yh-linux-amd64.zip
+ sha256sums = e98007a2c3f0a968fd5de479b1a32c0199bd40e862cd8b7f4e6a2edb3dfa6720
+
+pkgname = yh-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..3de49c922456
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+# Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
+
+pkgname=yh-bin
+_pkgname=yh
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="A YAML syntax highlighter for the CLI"
+arch=('x86_64')
+url="https://github.com/andreazorzetto/yh"
+license=('Apache')
+source=("https://github.com/andreazorzetto/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-linux-amd64.zip")
+sha256sums=('e98007a2c3f0a968fd5de479b1a32c0199bd40e862cd8b7f4e6a2edb3dfa6720')
+
+package() {
+ install -Dm 755 "$srcdir/${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
+}