diff options
author | Shulhan | 2023-11-09 21:45:37 +0700 |
---|---|---|
committer | Shulhan | 2023-11-09 21:45:37 +0700 |
commit | 3a23fb59edfa13909d66dd48f577c01aa988d920 (patch) | |
tree | 7650633b851ba6546bde37891becadd2e6ddbf52 /PKGBUILD | |
parent | 281405776423ff505509976fc55310706f647902 (diff) | |
download | aur-3a23fb59edfa13909d66dd48f577c01aa988d920.tar.gz |
all: release v4.4.2
This release,
* update the license to GPL-3.0 (using SPDX format) and
* fix the GOFLAGS build options by removing "-ldflags=-linkmode=external"
which causes error when building,
-: -linkmode=external requires external (cgo) linking, but cgo is not
enabled
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,15 +1,15 @@ # Maintainer: shulhan <ms@kilabit.info> pkgname=rescached-git -pkgver=4.3.0.r0.g36b08fe +pkgver=4.4.2.r1.g92903ef pkgrel=1 pkgdesc="Resolver/DNS cache daemon" arch=('i686' 'x86_64' 'armv7h') url="https://github.com/shuLhan/rescached-go" -license=('custom:BSD') +license=('GPL-3.0-or-later') depends=('bash') provides=('rescached') -makedepends=('git' 'go>=1.16') +makedepends=('git' 'go>=1.20') source=( "$pkgname::git+https://github.com/shuLhan/rescached-go.git" @@ -25,8 +25,6 @@ backup=( 'etc/rescached/block.d/.someonewhocares.org' 'etc/rescached/block.d/.winhelp2002.mvps.org' 'etc/rescached/rescached.cfg' - 'etc/rescached/localhost.cert.pem' - 'etc/rescached/localhost.key.pem' 'etc/rescached/localhost.pem' 'etc/rescached/localhost.pem.key' ) @@ -48,7 +46,7 @@ build() { echo ">> make ..." echo ">>" unset GOROOT - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" make || return 1 } |