summaryrefslogtreecommitdiff
path: root/pcr/systemd-knock/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/systemd-knock/PKGBUILD')
-rw-r--r--pcr/systemd-knock/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/pcr/systemd-knock/PKGBUILD b/pcr/systemd-knock/PKGBUILD
index 296e2a47c..932fe14cd 100644
--- a/pcr/systemd-knock/PKGBUILD
+++ b/pcr/systemd-knock/PKGBUILD
@@ -2,10 +2,11 @@
# Maintainer (Arch): Tom Gundersen <teg@jklm.no>
# Maintainer: Márcio Silva <coadde@parabola.nu>
-pkgbase=systemd
+_pkgbase=systemd
+pkgbase=systemd-knock
pkgname=('systemd-knock' 'libsystemd-knock')
pkgver=217
-pkgrel=7
+pkgrel=8
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf'
@@ -13,7 +14,7 @@ makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf'
'libxslt' 'util-linux' 'linux-api-headers' 'lz4' 'pam' 'python'
'python-lxml' 'quota-tools' 'shadow' 'xz')
options=('strip' 'debug')
-source=("http://www.freedesktop.org/software/$pkgbase/$pkgbase-$pkgver.tar.xz"
+source=("http://www.freedesktop.org/software/$_pkgbase/$_pkgbase-$pkgver.tar.xz"
'0001-nspawn-ignore-EEXIST-when-creating-mount-point.patch'
'0001-sd-dhcp-client-clean-up-raw-socket-sd_event_source-w.patch'
'0001-shared-install-avoid-prematurely-rejecting-missing-u.patch'
@@ -42,8 +43,9 @@ md5sums=('e68dbff3cc19f66e341572d9fb2ffa89'
'107c489f27c667be4101aecd3369b355'
'bde43090d4ac0ef048e3eaee8202a407')
+
prepare() {
- cd "$pkgbase-$pkgver"
+ cd "$_pkgbase-$pkgver"
patch -Np1 <../0001-nspawn-ignore-EEXIST-when-creating-mount-point.patch
patch -Np1 <../0001-sd-dhcp-client-clean-up-raw-socket-sd_event_source-w.patch
@@ -58,7 +60,7 @@ prepare() {
}
build() {
- cd "$pkgbase-$pkgver"
+ cd "$_pkgbase-$pkgver"
local timeservers=({0..3}.arch.pool.ntp.org)
@@ -114,7 +116,7 @@ package_systemd-knock() {
etc/udev/udev.conf)
install="systemd.install"
- make -C "$pkgbase-$pkgver" DESTDIR="$pkgdir" install
+ make -C "$_pkgbase-$pkgver" DESTDIR="$pkgdir" install
# don't write units to /etc by default. some of these will be re-enabled on
# post_install.
@@ -168,13 +170,13 @@ package_systemd-knock() {
mv "$pkgdir"/usr/lib/lib{systemd,{g,}udev}*.so* usr/lib
# include MIT license, since it's technically custom
- install -Dm644 "$srcdir/$pkgbase-$pkgver/LICENSE.MIT" \
+ install -Dm644 "$srcdir/$_pkgbase-$pkgver/LICENSE.MIT" \
"$pkgdir/usr/share/licenses/systemd/LICENSE.MIT"
}
package_libsystemd-knock() {
pkgdesc="systemd client libraries with support for stealth TCP sockets"
- depends=('glib2' 'glibc' 'libgcrypt' 'xz')
+ depends=('glib2' 'glibc' 'libgcrypt' 'lz4' 'xz')
license=('GPL2')
provides=('libgudev-1.0.so' 'libsystemd.so' 'libsystemd-daemon.so' 'libsystemd-id128.so'
'libsystemd-journal.so' 'libsystemd-login.so' 'libudev.so' "libsystemd=$pkgver")