[PATCH v2] community/coreboot-ectool: add package
Export this patch
From: Nulo <git@nulo.in>
---
community/coreboot-ectool/APKBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 community/coreboot-ectool/APKBUILD
diff --git a/community/coreboot-ectool/APKBUILD b/community/coreboot-ectool/APKBUILD
new file mode 100644
index 0000000000..a79dfd1574
--- /dev/null
@@ -0,0 +1,25 @@
+ # Contributor: Nulo <alpine@nulo.in>
+ pkgname=coreboot-ectool
+ pkgver=4.14
+ pkgrel=0
+ pkgdesc="Dumps the RAM of a laptop’s Embedded/Environmental Controller (EC)."
+ url="https://www.coreboot.org"
+ arch="all"
+ license="GPL-2.0-only"
+ options="!check"
needs explain why
--
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/26695#note_187395
+ arch="x86 x86_64"
+ source="https://coreboot.org/releases/coreboot-$pkgver.tar.xz"
+ builddir="$srcdir/coreboot-$pkgver/util/ectool/"
+
+ build() {
+ make PREFIX="$pkgdir/usr" all
+ }
+
+ package() {
+ mkdir -p "$pkgdir/usr/sbin"
+ make PREFIX="$pkgdir/usr" install
+ }
+
+ sha512sums="
+ 14c615472dfe00682e4b0b41b6a04ed3b201395427350f7b53497152f2acc8cbef8144bad06517b413c4076422108bccab2e4732491f5e6fcc4703b14d062b19 coreboot-4.14.tar.xz
+ "
--
2.33.1
comment title needs to be `new aport` instead of `add package`
--
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/26695#note_187534
Is there a way to modify this patch? I can make a normal MR instead
--
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/26695#note_187632