blob: 64cdd64a6c5c0c24a788fa989b667d23d6cabcce (
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
|
# 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=20181116
_gitver=b2c69d114255015c1881cea5ed45b0d6c2ec7932
pkgrel=1
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})
sha512sums=('ff4f27f71087a276a25f207cafbbcf0ac2459b5f68cfd7f9afa01bb46ccd5de0bfde726b230c86731f82e62a3df6b201658cdbe40597c84e336af91e4403c475')
pkgver() {
date +%Y%m%d
}
package() {
cd "$srcdir"
conflicts=($(
< blacklist-${_gitver}.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
}
|