diff options
Diffstat (limited to 'libre/your-freedom/PKGBUILD')
-rw-r--r-- | libre/your-freedom/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD index 8aad59fe4..6f2b209d5 100644 --- a/libre/your-freedom/PKGBUILD +++ b/libre/your-freedom/PKGBUILD @@ -2,7 +2,7 @@ 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 to ensure your system is free." +pkgdesc="This package conflicts with every nonfree package known to date to ensure your system is free." arch=('any') url="https://parabolagnulinux.org" license=('GPL3') @@ -10,18 +10,16 @@ groups=('base') install=${pkgname}.install source=(blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/blacklist.txt) -build() { +package() { + conflicts=($(cut -d: -f1,2 blacklist-${pkgver}.txt | \ + sed "s/:$//" | \ + grep -v ":" | \ + grep -v '^#' | \ + sort -u + )) cd ${srcdir} install -d ${pkgdir}/usr/share/doc/${pkgname} install -m644 blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/ } -package() { - conflicts=($(cut -d: -f1,2 ${pkgdir}/usr/share/doc/${pkgname}/blacklist-${pkgver}.txt | \ - sed "s/:$//" | \ - grep -v ":" | \ - sort -u - )) -} - -md5sums=('b8c939de5aa75a92299f65210e510d61') +md5sums=('5fd14982619414fea1882b351607291e') |