summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShulhan2022-03-15 00:47:26 +0700
committerShulhan2022-03-15 00:47:26 +0700
commit7d6c459d32725f014e9f548ece050594fe0f06f6 (patch)
tree737134ab36c42637835b89f20bfffc1e0ab23961 /PKGBUILD
parent71741533c2fbd7fe5ca0ac42986a257b26e12a47 (diff)
downloadaur-7d6c459d32725f014e9f548ece050594fe0f06f6.tar.gz
Release rescached v4.3.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae69a88d72f..900bc115009 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=rescached-git
-pkgver=4.1.0.r0.gfb234bb
+pkgver=4.3.0.r0.g36b08fe
pkgrel=1
pkgdesc="Resolver/DNS cache daemon"
arch=('i686' 'x86_64' 'armv7h')
@@ -13,11 +13,9 @@ makedepends=('git' 'go>=1.16')
source=(
"$pkgname::git+https://github.com/shuLhan/rescached-go.git"
+ ## For testing on local.
+ #"$pkgname::git+file:///home/ms/go/src/github.com/shuLhan/rescached-go"
)
-## For testing on local.
-#source=(
-# "$pkgname::git+file:///home/ms/go/src/github.com/shuLhan/rescached-go"
-#)
sha1sums=(
'SKIP'
)
@@ -52,7 +50,7 @@ build() {
package() {
cd "$pkgname"
make PREFIX="$pkgdir" install
- rm -f ${pkgdir}/usr/share/rescached/LICENSE
- rmdir ${pkgdir}/usr/share/rescached
- install -Dm644 $srcdir/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/rescached/LICENSE"
+ rm -rf ${pkgdir}/usr/share/rescached/
+ install -Dm644 $srcdir/$pkgname/COPYING \
+ "${pkgdir}/usr/share/licenses/rescached/COPYING"
}