diff options
author | Jean Lucas | 2019-08-13 20:13:20 -0400 |
---|---|---|
committer | Jean Lucas | 2019-08-13 20:13:20 -0400 |
commit | c55a51ce01c3a8119e86eb21f6e64c19e23cd05f (patch) | |
tree | d098fb6a89ec57faa7668956fe157847e97a8a70 | |
parent | 8cef7a8d150f5206dcd3154337c8d537333f52b5 (diff) | |
download | aur-c55a51ce01c3a8119e86eb21f6e64c19e23cd05f.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 - pkgdesc = Filtering reverse-HTTP proxy - pkgver = 0+51+93f8b22 - pkgrel = 3 + pkgdesc = Reverse-HTTP filtering proxy + pkgver = 0+r51+93f8b22 + pkgrel = 1 url = https://github.com/asciimoo/filtron install = filtron.install arch = i686 @@ -9,8 +9,6 @@ pkgbase = filtron 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 source = git+https://github.com/asciimoo/filtron#commit=93f8b22bc42fabb57d8a4c0ce7b7de706e6034b6 source = filtron.service source = rules.json @@ -1,16 +1,14 @@ # Maintainer: Jean Lucas <jean@4ray.co> pkgname=filtron -pkgver=0+51+93f8b22 +pkgver=0+r51+93f8b22 _commit=93f8b22bc42fabb57d8a4c0ce7b7de706e6034b6 -pkgrel=3 -pkgdesc='Filtering reverse-HTTP proxy' +pkgrel=1 +pkgdesc='Reverse-HTTP filtering proxy' arch=(i686 x86_64) url=https://github.com/asciimoo/filtron license=(AGPL3) 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#commit=$_commit filtron.service @@ -21,7 +19,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() { @@ -30,11 +28,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 } |