diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 7 deletions
@@ -1,11 +1,12 @@ pkgbase = unbound-block-hosts - pkgdesc = Script to convert an ad-blocking hosts file (Dan Pollock's, by default) into Unbound local-data - pkgver = 0+21+87966ee - pkgrel = 2 + pkgdesc = Script to convert an ad-blocking hosts file into Unbound local-data + pkgver = 0+r21+87966ee + pkgrel = 1 url = https://github.com/gbxyz/unbound-block-hosts arch = any license = GPL license = PerlArtistic + makedepends = git depends = perl-lwp-protocol-https source = git+https://github.com/gbxyz/unbound-block-hosts#commit=87966ee571cdeb78b89d16aac48d8fa2935ad6b2 sha512sums = SKIP @@ -1,20 +1,21 @@ # Maintainer: Jean Lucas <jean@4ray.co> pkgname=unbound-block-hosts -pkgver=0+21+87966ee +pkgver=0+r21+87966ee _commit=87966ee571cdeb78b89d16aac48d8fa2935ad6b2 -pkgrel=2 -pkgdesc="Script to convert an ad-blocking hosts file (Dan Pollock's, by default) into Unbound local-data" +pkgrel=1 +pkgdesc='Script to convert an ad-blocking hosts file into Unbound local-data' arch=(any) url=https://github.com/gbxyz/unbound-block-hosts license=(GPL PerlArtistic) depends=(perl-lwp-protocol-https) +makedepends=(git) source=(git+$url#commit=$_commit) sha512sums=('SKIP') pkgver() { cd $pkgname - printf 0+%s+%s $(git rev-list --count HEAD) $(git rev-parse --short HEAD) + printf 0+r%s+%s $(git rev-list --count HEAD) $(git rev-parse --short HEAD) } package() { |