~alpine/aports

community/coreboot-ectool: add package v2 PROPOSED

: 1
 community/coreboot-ectool: add package

 1 files changed, 25 insertions(+), 0 deletions(-)
@andypost @Leo

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/26695#note_188427
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3724/mbox | git am -3
Learn more about email & git

[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
+++ b/community/coreboot-ectool/APKBUILD
@@ -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"
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