From c8c60aeec50f33797572f2437d771a6ea7352c3f Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sun, 20 Oct 2024 18:04:47 +0200 Subject: [PATCH] pkgs: new ptrcport --- pkgs/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/APKBUILD diff --git a/pkgs/APKBUILD b/pkgs/APKBUILD new file mode 100644 index 0000000..d1fc6c2 --- /dev/null +++ b/pkgs/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Patrycja Rosa +maintainer="Patrycja Rosa " +pkgname=pkgs +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Small utility to fetch packages containing a filename in Alpine repos" +url="https://git.ddd.rip/ptrcnull/pkgs" +arch="aarch64 x86_64" +license="BSD-2-Clause" +makedepends="go" +source="$pkgname-$pkgver.tar.gz::https://git.ddd.rip/ptrcnull/pkgs/archive/v$pkgver.tar.gz" +builddir="$srcdir/pkgs" +# !check: no tests lol +# net: go deps +options="!check net" + +build() { + go build +} + +package() { + install -Dm755 pkgs -t "$pkgdir"/usr/bin/ +} + +sha512sums=" +001db2e0f4fc1f4adb8b4d142da50b7cc3a16a621e20a7b6b529d8c754196807843bdc3d6ad66dd37ba7940bac929387867d2022d66dbfd803157b2ebc34a85d pkgs-1.0.0.tar.gz +"