summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07bc696f590fc6f5f6b375e6bcf0aca987caa75b (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
# Maintainer: Benjamin Higgins <mail@brhiggins.com>
# Generated with https://github.com/bhigginsuk/ut1-blacklists-pkgbuild-generator
# Output in /opt/
_listname=press
pkgname="ut1-blacklists-$_listname"
pkgver=20210208
pkgrel=1
pkgdesc="Université Toulouse 1 Capitole '$_listname' blocklist: \"Any press (informational) site\""
arch=("any")
url="https://dsi.ut-capitole.fr/blacklists/index_en.php"
license=("CC BY-SA 4.0")
groups=("ut1-blacklists")
source=("ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/$_listname.tar.gz")
md5sums=("SKIP")

pkgver() {
    date +%Y%m%d
}

package() {
    mkdir -p "$pkgdir/opt/"
    cp -r "$_listname/" "$pkgdir/opt/$pkgname"
}