diff options
author | Jean Lucas | 2019-08-13 20:13:32 -0400 |
---|---|---|
committer | Jean Lucas | 2019-08-13 20:13:32 -0400 |
commit | e5fe3ad8eb71793368a617fa51b107b1e8145eff (patch) | |
tree | f7e292343ddc7032d584d9cf5231b20e2cd87b2e | |
parent | ebb75228990f8934440d40e979a49a59df6860fe (diff) | |
download | aur-e5fe3ad8eb71793368a617fa51b107b1e8145eff.tar.gz |
Reformat, update pkgver schema, add readme
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 12 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = filtron-git - pkgdesc = Filtering reverse-HTTP proxy (git) - pkgver = 0+51+93f8b22 - pkgrel = 3 + pkgdesc = Reverse-HTTP filtering proxy (git) + pkgver = 0+r51+93f8b22 + pkgrel = 1 url = https://github.com/asciimoo/filtron install = filtron.install arch = i686 @@ -9,8 +9,6 @@ pkgbase = filtron-git license = AGPL3 makedepends = git makedepends = go - optdepends = searx: A privacy-respecting, hackable metasearch engine - optdepends = morty: Privacy-aware web content sanitizer proxy-as-a-service provides = filtron conflicts = filtron source = git+https://github.com/asciimoo/filtron @@ -1,17 +1,15 @@ # Maintainer: Jean Lucas <jean@4ray.co> pkgname=filtron-git -pkgver=0+51+93f8b22 -pkgrel=3 -pkgdesc='Filtering reverse-HTTP proxy (git)' +pkgver=0+r51+93f8b22 +pkgrel=1 +pkgdesc='Reverse-HTTP filtering proxy (git)' arch=(i686 x86_64) url=https://github.com/asciimoo/filtron license=(AGPL3) provides=(filtron) conflicts=(filtron) makedepends=(git go) -optdepends=('searx: A privacy-respecting, hackable metasearch engine' - 'morty: Privacy-aware web content sanitizer proxy-as-a-service') install=filtron.install source=(git+$url filtron.service @@ -22,7 +20,7 @@ sha512sums=('SKIP' pkgver() { cd filtron - 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) } build() { @@ -31,11 +29,13 @@ build() { } package() { - install -Dm 644 filtron.service -t "$pkgdir"/usr/lib/systemd/system - install -Dm 644 rules.json -t "$pkgdir"/etc/filtron - cd filtron install -D bin/filtron -t "$pkgdir"/usr/bin + + install -Dm 644 ../rules.json -t "$pkgdir"/etc/filtron + install -Dm 644 ../filtron.service -t "$pkgdir"/usr/lib/systemd/system + + install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/filtron install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/filtron } |