summaryrefslogtreecommitdiff
path: root/libre/your-freedom
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-06 04:45:44 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-06 04:45:44 -0300
commit0185218033d00fc74c31793a37ef02b5bcf6b25b (patch)
tree095e0f5daef4a49a24a0d13ef76d8ef7ca75f21c /libre/your-freedom
parent014b522f74254d9d03494e88d17e649c717e9d3b (diff)
your-freedom: fixing pkgbuild to adapt to pacman 4.1
Diffstat (limited to 'libre/your-freedom')
-rw-r--r--libre/your-freedom/PKGBUILD19
1 files changed, 8 insertions, 11 deletions
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')