summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2022-10-25 10:50:28 +0200
committerChristian Hesse2022-10-25 10:50:28 +0200
commit83fa0aca2e3b3b43a378acd7234299acd3f75241 (patch)
treed67acf0b06a457fee51ca2e2d97f5bb3b3308a03
parentbc364cc314a08748f36bd4b99a2c20e19d6fc2a6 (diff)
downloadaur-dhcpcd-hook-pdnsd.tar.gz
commit dhcpcd-hook-pdnsd 0.2.1-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD19
2 files changed, 8 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 406830e2a1ca..41a88bc159b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dhcpcd-hook-pdnsd
pkgdesc = Hook for dhcpcd to add domain name servers to pdnsd (dns caching proxy)
- pkgver = 0.2.0.r2.g596c6be
+ pkgver = 0.2.1
pkgrel = 1
url = https://github.com/eworm-de/dhcpcd-hook-pdnsd
install = dhcpcd-hook-pdnsd.install
@@ -9,8 +9,8 @@ pkgbase = dhcpcd-hook-pdnsd
makedepends = git
depends = pdnsd
depends = dhcpcd
- source = git://github.com/eworm-de/dhcpcd-hook-pdnsd.git
+ source = git+https://github.com/eworm-de/dhcpcd-hook-pdnsd.git#tag=0.2.1?signed
+ validpgpkeys = BD84DE71F493DF6814B0167254EDC91609BC9183
sha256sums = SKIP
pkgname = dhcpcd-hook-pdnsd
-
diff --git a/PKGBUILD b/PKGBUILD
index 340ce6a22294..b375a7457e05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,19 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=dhcpcd-hook-pdnsd
-pkgver=0.2.0.r2.g596c6be
+pkgver=0.2.1
pkgrel=1
-pkgdesc="Hook for dhcpcd to add domain name servers to pdnsd (dns caching proxy)"
+pkgdesc='Hook for dhcpcd to add domain name servers to pdnsd (dns caching proxy)'
arch=('any')
depends=('pdnsd' 'dhcpcd')
makedepends=('git')
-url="https://github.com/eworm-de/dhcpcd-hook-pdnsd"
+url='https://github.com/eworm-de/dhcpcd-hook-pdnsd'
license=('GPL')
-source=('git://github.com/eworm-de/dhcpcd-hook-pdnsd.git')
+validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail@eworm.de>
+source=("git+https://github.com/eworm-de/dhcpcd-hook-pdnsd.git#tag=${pkgver}?signed")
install=dhcpcd-hook-pdnsd.install
sha256sums=('SKIP')
-pkgver() {
- cd dhcpcd-hook-pdnsd/
-
- if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
- echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")"
- else
- echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")"
- fi
-}
-
package() {
cd dhcpcd-hook-pdnsd/