blob: 5be07316acbfae15f2c6e7bb1d5fb2471d2783e4 (
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
29
30
31
32
33
34
35
36
37
|
# Maintainer: Parabola Project <dev@lists.parabola.nu>
pkgname=your-initfreedom
pkgdesc="This package will remove support for systemd."
license=('GPL3')
url="https://git.parabola.nu/blacklist.git"
pkgver=20180509
_gitver=ce104115ea671c4dd4bf7dc0b70ba9cf40948ee3
pkgrel=2
arch=('any')
groups=('base-openrc')
install=${pkgname}.install
makedepends=(librelib)
# source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver})
source=(${pkgname}-blacklist.txt)
sha512sums=('8f49cfff0b631fd5e48b7093240f9c1e3b5cc9cc7b939c39ecb7ca7d8ebbf1ca277fea78d9f8e332a04a46749338615b6aa2d76ba3f05685a162216997c41b25')
pkgver() {
date +%Y%m%d
}
package() {
cd "$srcdir"
conflicts=($(
< ${pkgname}-blacklist.txt \
libreblacklist normalize |
cut -d: -f1,2 |
sed -n 's/:$//p' |
sort -u
))
# install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt
install -Dm644 ${pkgname}-blacklist.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt
}
|