pkgs: new ptrcport

This commit is contained in:
ptrcnull 2024-10-20 18:04:47 +02:00
parent f2b04bbf2d
commit c8c60aeec5

27
pkgs/APKBUILD Normal file
View file

@ -0,0 +1,27 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
maintainer="Patrycja Rosa <alpine@ptrcnull.me>"
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
"