summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Vakil2021-04-10 19:07:25 +0430
committerAmin Vakil2021-04-10 19:07:25 +0430
commit5fcc94ef49b60f1962e889910bfee42cc4b777b8 (patch)
treeac93e76236010bea131cc8b01c7b374147f4ceb5
downloadaur-5fcc94ef49b60f1962e889910bfee42cc4b777b8.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD30
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c2e0bb6cf54
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = butane-bin
+ pkgdesc = Fedora CoreOS Config Transpiler
+ pkgver = 0.10.0
+ pkgrel = 1
+ url = https://github.com/coreos/butane
+ arch = aarch64
+ arch = x86_64
+ license = Apache
+ conflicts = butane
+ validpgpkeys = 963A2BEB02009608FE67EA4249FD77499570FF31
+ source_aarch64 = https://github.com/coreos/butane/releases/download/v0.10.0/butane-aarch64-unknown-linux-gnu
+ source_aarch64 = https://github.com/coreos/butane/releases/download/v0.10.0/butane-aarch64-unknown-linux-gnu.asc
+ sha256sums_aarch64 = 3c328fe3b699fad889d5e6b328cf3c06ad62201f16f71e02c1941bc126e61d8e
+ sha256sums_aarch64 = SKIP
+ source_x86_64 = https://github.com/coreos/butane/releases/download/v0.10.0/butane-x86_64-unknown-linux-gnu
+ source_x86_64 = https://github.com/coreos/butane/releases/download/v0.10.0/butane-x86_64-unknown-linux-gnu.asc
+ sha256sums_x86_64 = 68197953fbcf23bd3d7118ae722e2a3442a454ff3d0f4c557a02fadd5449cdea
+ sha256sums_x86_64 = SKIP
+
+pkgname = butane-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..235e252702c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Amin Vakil <info AT aminvakil DOT com>
+
+# Before running makepkg, you must do this (as normal user):
+# curl https://getfedora.org/static/fedora.gpg | gpg --import
+
+_pkgname=butane
+pkgname=butane-bin
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="Fedora CoreOS Config Transpiler"
+arch=('aarch64' 'x86_64')
+url="https://github.com/coreos/butane"
+license=('Apache')
+conflicts=('butane')
+
+source_aarch64=(https://github.com/coreos/butane/releases/download/v$pkgver/butane-aarch64-unknown-linux-gnu{,.asc})
+source_x86_64=(https://github.com/coreos/butane/releases/download/v$pkgver/butane-x86_64-unknown-linux-gnu{,.asc})
+
+sha256sums_aarch64=('3c328fe3b699fad889d5e6b328cf3c06ad62201f16f71e02c1941bc126e61d8e'
+ 'SKIP')
+sha256sums_x86_64=('68197953fbcf23bd3d7118ae722e2a3442a454ff3d0f4c557a02fadd5449cdea'
+ 'SKIP')
+
+validpgpkeys=('963A2BEB02009608FE67EA4249FD77499570FF31')
+
+package() {
+ mkdir -p ${pkgdir}/usr/bin
+ install ${srcdir}/${_pkgname}-${CARCH}-unknown-linux-gnu ${pkgdir}/usr/bin/${_pkgname}
+}
+