Initial upload: alhp-utils 1.0.2-1

This commit is contained in:
2025-03-23 16:13:35 +01:00
parent c21f31d85a
commit 3373d3c975
2 changed files with 45 additions and 0 deletions

14
alhp-utils/.SRCINFO Normal file
View File

@@ -0,0 +1,14 @@
pkgbase = alhp-utils
pkgdesc = Collection of ALHP utils
pkgver = 1.0.2
pkgrel = 1
url = https://somegit.dev/ALHP/alhp.utils
arch = x86_64
license = GPL-2.0-or-later
makedepends = go
depends = glibc
depends = pacman
source = alhp-utils-1.0.2.tar.gz::https://somegit.dev/ALHP/alhp.utils/archive/1.0.2.tar.gz
b2sums = 6736f62501dc1f6f9042546a5f1f964dfd542412d97418524af440ae6eec692d2460aea6daf59a7018825e70341f938f02c84883450bcef0ee67924199c01de6
pkgname = alhp-utils

31
alhp-utils/PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=alhp-utils
_name=alhp.utils
pkgver=1.0.2
pkgrel=1
pkgdesc='Collection of ALHP utils'
arch=(x86_64)
url="https://somegit.dev/ALHP/$_name"
license=(GPL-2.0-or-later)
depends=(glibc pacman)
makedepends=(go)
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
b2sums=('6736f62501dc1f6f9042546a5f1f964dfd542412d97418524af440ae6eec692d2460aea6daf59a7018825e70341f938f02c84883450bcef0ee67924199c01de6')
build() {
cd $_name
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go build -o $_name .
}
package() {
install -Dm 755 $_name/$_name -t "$pkgdir"/usr/bin/
}
# vim:set ts=2 sw=2 et: