summaryrefslogtreecommitdiff
path: root/yf/PKGBUILD
blob: cc6f07be25246066b1388aea62f204de532a9430 (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
26
27
28
# 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="https://parabolagnulinux.org"
license=('GPL')
groups=('base')
install=${pkgname}.install
source=()
md5sums=()
noextract=()

build() {
    cd ${srcdir}
    source ~/repm/local_config
    install -d ${pkgdir}/usr/share/doc/${pkgname}
    install -m644 $blacklist $whitelist ${pkgdir}/usr/share/doc/${pkgname}/
}

package() {
    conflicts=($(cut -d: -f1,2 ${pkgdir}/usr/share/doc/${pkgname}/blacklist.txt | \
        sed "s/:$//" | \
        grep -v ":" | \
        sort -u
        ))
}