summaryrefslogtreecommitdiff
path: root/nonsystemd/your-initfreedom/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/your-initfreedom/PKGBUILD')
-rw-r--r--nonsystemd/your-initfreedom/PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/nonsystemd/your-initfreedom/PKGBUILD b/nonsystemd/your-initfreedom/PKGBUILD
index 9ae16fd07..ea24ffecb 100644
--- a/nonsystemd/your-initfreedom/PKGBUILD
+++ b/nonsystemd/your-initfreedom/PKGBUILD
@@ -6,7 +6,7 @@ license=('GPL3')
url="https://git.parabola.nu/blacklist.git"
pkgver=20191031
_gitver=fc51ba3cee3bdb693507af69de18de53ff99f3e5
-pkgrel=1
+pkgrel=2
arch=('any')
install=${pkgname}.install
@@ -15,19 +15,15 @@ makedepends=(librelib)
source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver})
sha512sums=('c83fd4c8aab8f6cd679588f066f15a6ed590973abafad02020318b5de4814a85871f3c54bea4090454581b87a2cd09559d908ca10aa9ac0ac01be93f54bb799d')
-pkgver() {
- date +%Y%m%d
-}
-
package() {
cd "$srcdir"
- conflicts=($(
+ conflicts=($( \
< blacklist-${_gitver}.txt \
- libreblacklist normalize |
- cut -d: -f1,2 |
- sed -n 's/:$//p' |
- sort -u
+ libreblacklist normalize | \
+ cut -d: -f1,2 | \
+ sed -n 's/:$//p' | \
+ sort -u \
))
install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt