summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--Makefile6
-rw-r--r--PKGBUILD12
3 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e72c5836add..bb324ca0f8c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rescached-git
pkgdesc = Resolver/DNS cache daemon
- pkgver = 4.0.0.r0.g004ca8b
+ pkgver = 4.0.0.r6.g33b6afc
pkgrel = 1
url = https://github.com/shuLhan/rescached-go
install = rescached.install
@@ -9,7 +9,7 @@ pkgbase = rescached-git
arch = armv7h
license = custom:BSD
makedepends = git
- makedepends = go>=1.14
+ makedepends = go>=1.16
depends = bash
provides = rescached
backup = etc/rescached/rescached.cfg
@@ -19,4 +19,3 @@ pkgbase = rescached-git
sha1sums = SKIP
pkgname = rescached-git
-
diff --git a/Makefile b/Makefile
index 172791ae974..8b7f37c10b4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,8 @@
.PHONY: all check release
all:
- makepkg -sd
-
-check:
- namcap PKGBUILD
+ makepkg -f
release:
+ namcap PKGBUILD
makepkg --printsrcinfo > .SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 07b7c61501a..fc27893a5f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=rescached-git
-pkgver=4.0.0.r0.g004ca8b
+pkgver=4.0.0.r6.g33b6afc
pkgrel=1
pkgdesc="Resolver/DNS cache daemon"
arch=('i686' 'x86_64' 'armv7h')
@@ -9,11 +9,15 @@ license=('custom:BSD')
depends=('bash')
provides=('rescached')
+makedepends=('git' 'go>=1.16')
-makedepends=('git' 'go>=1.14')
source=(
"$pkgname::git+https://github.com/shuLhan/rescached-go.git"
)
+## For testing on local.
+#source=(
+# "$pkgname::git+file:///home/ms/go/src/github.com/shuLhan/rescached-go"
+#)
sha1sums=(
'SKIP'
)
@@ -48,5 +52,7 @@ build() {
package() {
cd "$pkgname"
make PREFIX="$pkgdir" install
- install -Dm644 $srcdir/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f ${pkgdir}/usr/share/rescached/LICENSE
+ rmdir ${pkgdir}/usr/share/rescached
+ install -Dm644 $srcdir/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/rescached/LICENSE"
}