blob: f8f988194c7d553c04883bbf5ec0bf0ccb6f8ace (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Ivan Wu <2967948168@qq.com>
pkgname=privoxy-adfilter
pkgver=477.76fc5cc
pkgrel=1
pkgdesc="Privoxy rule to filter web advertisement."
arch=('any')
depends=('privoxy')
url="https://github.com/qwIvan/privoxy-adfilter"
source=("git+https://github.com/qwIvan/$pkgname.git")
md5sums=('SKIP')
install='privoxy-adfilter.install'
pkgver() {
cd $pkgname
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm644 "$srcdir"/$pkgname/*.{action,filter} -t "$pkgdir/etc/privoxy/"
}
# vim:set ts=2 sw=2 et:
|