blob: eff633b27fa3a9e5799a7010d54f233f76548a25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: hashworks <mail@hashworks.net>
pkgname=dns-zone-blacklist-git
_pkgname="${pkgname%-git}"
pkgver=r412.73ebd31
pkgrel=1
pkgdesc="dnsmasq, bind and unbound zone files to be used in DNS based AD Blockers"
url="https://github.com/oznu/dns-zone-blacklist"
arch=("any")
license=("MIT")
conflicts=("${_pkgname}")
provides=("${_pkgname}")
optdepends=("unbound" "bind" "dnsmasq")
makedepends=("git")
source=("git+https://github.com/oznu/dns-zone-blacklist.git")
sha256sums=("SKIP")
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_pkgname}"
find . -type f -name "*.checksum" -delete
mkdir -p "${pkgdir}/etc/${_pkgname}"
cp -r bind dnsmasq unbound "${pkgdir}/etc/${_pkgname}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|