diff options
Diffstat (limited to 'nonprism/your-privacy/PKGBUILD')
-rw-r--r-- | nonprism/your-privacy/PKGBUILD | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/nonprism/your-privacy/PKGBUILD b/nonprism/your-privacy/PKGBUILD index 393a9f3ef..15b6e7995 100644 --- a/nonprism/your-privacy/PKGBUILD +++ b/nonprism/your-privacy/PKGBUILD @@ -1,25 +1,33 @@ -# Maintainer: Parabola Project <dev@list.parabolagnulinux.org> +# Maintainer: Parabola Project <dev@lists.parabolagnulinux.org> + pkgname=your-privacy -pkgver=$(LC_ALL=C date -u +%Y%m%d) -pkgrel=1 pkgdesc="This package will remove support for unsafe/dangerous for privacy protocols/services." -arch=('any') -url="https://parabolagnulinux.org" license=('GPL3') +#url="https://projects.parabolagnulinux.org/blacklist.git" +url="https://lukeshu.com/git/mirror/parabola/blacklist.git" +pkgver=20140827 +_gitver=ee8234dcb7e270c434d6cce01942600feb9444f0 +pkgrel=1 + +arch=('any') install=${pkgname}.install replaces=(your-coherence) -source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt) + +makedepends=(librelib) +#source=(blacklist-${_gitver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) +source=(blacklist-${_gitver}.txt::https://lukeshu.com/git/mirror/parabola/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) +md5sums=('f3ed6499df6780764beb53a7109fe8d6') package() { - conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \ - sed "s/:$//" | \ - grep -v ":" | \ - grep -v '^#' | \ - sort -u - )) - cd ${srcdir} - install -d ${pkgdir}/usr/share/doc/${pkgname} - install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/ -} + cd "$srcdir" -md5sums=('5fd14982619414fea1882b351607291e') + conflicts=($( + < blacklist-${_gitver}.txt \ + blacklist normalize | + cut -d: -f1,2 | + sed -n 's/:$//p' | + sort -u + )) + + install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt +} |