33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=redxen-data-seedbox-blocklist
|
|
pkgver="$(date +'%Y.%m.%d')"
|
|
pkgrel=0
|
|
pkgdesc="Blocklist creation"
|
|
url="https://git.redxen.eu/RedXen"
|
|
arch="noarch"
|
|
license="none"
|
|
options="!check" # No checks possible
|
|
source="
|
|
level1.gz::http://list.iblocklist.com/?list=ydxerpxkpcfqjaybcssw&fileformat=p2p&archiveformat=gz
|
|
level2.gz::http://list.iblocklist.com/?list=gyisgnzbhppbvsphucsw&fileformat=p2p&archiveformat=gz
|
|
level3.gz::http://list.iblocklist.com/?list=uwnukjqktoggdknzrhgh&fileformat=p2p&archiveformat=gz
|
|
badpeers.gz::http://list.iblocklist.com/?list=cwworuawihqvocglcoss&fileformat=p2p&archiveformat=gz
|
|
"
|
|
builddir="$srcdir"
|
|
|
|
package() {
|
|
gzip -d > level1 < level1.gz
|
|
gzip -d > level2 < level2.gz
|
|
gzip -d > level3 < level3.gz
|
|
gzip -d > badpeers < badpeers.gz
|
|
cat level1 level2 level3 badpeers > blocklist
|
|
install -Dm644 blocklist "$pkgdir"/etc/transmission/blocklists/blocklist
|
|
}
|
|
|
|
|
|
sha512sums="06ba5454e48b303b6d33197f1fba6407fe2ec75cf710fce5f7319a52d72e0ff97fba7340f36ac8e6f0a2160bceef58c977c7a6311b33c7ada0e726355bd68d8f level1.gz
|
|
409a70275f3b270e24307cf90df92494869cedd4f5094444fd3ac4e2b2182798f8a483516ae6c3da08ee034eaf3e4d0f850855295e7d0a0b08118ce48684ed49 level2.gz
|
|
ea9f3c62353ee307f9a0d7aacd0c9ef8cdfda61a98ebc62e78a8f6753796faf675ceb2a924d432c442546ca501d4e181efecc0315de9cf62349cccdf4aa4e3e1 level3.gz
|
|
f8afc36ed30a42d88b4a11ab7c2cfcf2dcd63a2727166578258820b2e6629612f809e33f1635a9c7d2374ada1f724bc44802e296efd60831df5b9802e846360d badpeers.gz"
|