From 0185218033d00fc74c31793a37ef02b5bcf6b25b Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Sat, 6 Apr 2013 04:45:44 -0300 Subject: your-freedom: fixing pkgbuild to adapt to pacman 4.1 --- libre/your-freedom/PKGBUILD | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'libre/your-freedom') diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD index 547f0dc2f..6f2b209d5 100644 --- a/libre/your-freedom/PKGBUILD +++ b/libre/your-freedom/PKGBUILD @@ -10,19 +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 ":" | \ - grep -v '^#' | \ - sort -u - )) -} - -md5sums=('b8c939de5aa75a92299f65210e510d61') +md5sums=('5fd14982619414fea1882b351607291e') -- cgit v1.2.3