summaryrefslogtreecommitdiff
path: root/libre/systemd/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-14 22:36:14 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-14 23:08:06 -0400
commit61dbc6240c0d556c8e13337b1f58d6c5dca01198 (patch)
treeada8df22bf0c23f1179d5c7bdee9e1281ecdec4e /libre/systemd/PKGBUILD
parent505bb3fb94d32b5189ab552de9156a9d87ff2bf0 (diff)
downloadabslibre-61dbc6240c0d556c8e13337b1f58d6c5dca01198.tar.gz
abslibre-61dbc6240c0d556c8e13337b1f58d6c5dca01198.tar.bz2
abslibre-61dbc6240c0d556c8e13337b1f58d6c5dca01198.zip
libre/notsystemd: Don't include resolvconf, depend on notsystemd-common pkgrel, fix build
1. (not)systemd-resolvconf is only symlinks, use plain systemd-resolvconf instead. 2. Now that we patch makepkg to treat pkgrel like pkgver in depends, we can (re-?)add this specificity. 3. Backport a patch to fix the build on glibc 2.28
Diffstat (limited to 'libre/systemd/PKGBUILD')
-rw-r--r--libre/systemd/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD
index 484b389b1..e90f6e9ae 100644
--- a/libre/systemd/PKGBUILD
+++ b/libre/systemd/PKGBUILD
@@ -413,6 +413,8 @@ package_systemd-resolvconf() {
provides=('openresolv' 'resolvconf')
conflicts=('openresolv')
+ replaces+=('notsystemd-resolvconf') # notsystemd-resolvconf should have never existed
+
install -d -m0755 "$pkgdir"/usr/bin
ln -s resolvectl "$pkgdir"/usr/bin/resolvconf