summaryrefslogtreecommitdiff
path: root/libre/your-freedom/PKGBUILD
blob: 83f9070fc7e8554defaa167a812e2d5f63f431db (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
25
# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
pkgname=your-freedom
pkgver=$(LC_ALL=C date -u +%Y%m%d)
pkgrel=1
pkgdesc="This package conflicts with every unfree package known to date."
arch=('any')
url="http://parabolagnulinux.org"
license=('GPL')
groups=('base')
install=${pkgname}.install
source=()
md5sums=()
noextract=()

build() {
    cd ${srcdir}
    wget http://repo.parabolagnulinux.org/docs/blacklist.txt
    wget http://repo.parabolagnulinux.org/docs/whitelist.txt
    install -d ${pkgdir}/usr/share/doc/${pkgname}
    install -m644 {black,white}list.txt ${pkgdir}/usr/share/doc/${pkgname}/
}

package() {
    conflicts=($(cut -d: -f1 ${pkgdir}/usr/share/doc/${pkgname}/blacklist.txt))
}