pkgs: new ptrcport
This commit is contained in:
parent
f2b04bbf2d
commit
c8c60aeec5
1 changed files with 27 additions and 0 deletions
27
pkgs/APKBUILD
Normal file
27
pkgs/APKBUILD
Normal 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
|
||||||
|
"
|
Loading…
Reference in a new issue