2015-06-08 09:31:01 +00:00
|
|
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
2015-06-19 13:54:11 +00:00
|
|
|
# % Trigger: 1434722047 %
|
2016-06-24 22:43:13 +00:00
|
|
|
# vim: ft=sh
|
2015-06-08 09:31:01 +00:00
|
|
|
|
2016-08-26 16:56:15 +00:00
|
|
|
pkgdesc="Standalone systemd libs"
|
2016-06-24 22:43:13 +00:00
|
|
|
pkgname=( 'libsystemd-standalone' 'libsystemd-udev' )
|
2017-11-06 02:08:29 +00:00
|
|
|
pkgver=235
|
2017-07-17 01:17:35 +00:00
|
|
|
pkgrel=1
|
2015-06-08 09:31:01 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.freedesktop.org/wiki/Software/systemd"
|
|
|
|
license=('GPL2' 'LGPL2.1' 'MIT')
|
|
|
|
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf'
|
|
|
|
'gtk-doc' 'intltool' 'kmod' 'libcap' 'libgcrypt' 'libmicrohttpd' 'libxslt'
|
|
|
|
'linux-api-headers' 'pam' 'python' 'python-lxml' 'quota-tools' 'xz')
|
|
|
|
options=('strip')
|
2015-07-31 09:15:45 +00:00
|
|
|
source=( "https://github.com/systemd/systemd/archive/v${pkgver}.tar.gz" )
|
2015-06-08 09:31:01 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "systemd-$pkgver"
|
|
|
|
|
2015-07-31 09:25:02 +00:00
|
|
|
./autogen.sh
|
2016-06-24 22:43:13 +00:00
|
|
|
./configure
|
2015-06-08 09:31:01 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package_libsystemd-standalone() {
|
2016-06-24 22:43:13 +00:00
|
|
|
install='libsystemd.install'
|
|
|
|
provides=( 'libsystemd.so' 'libsystemd' )
|
|
|
|
|
2017-01-03 22:18:33 +00:00
|
|
|
make -C "systemd-$pkgver" DESTDIR="$pkgdir" install-rootlibLTLIBRARIES
|
2016-06-24 22:43:13 +00:00
|
|
|
|
|
|
|
# Headers
|
|
|
|
cd "systemd-$pkgver"
|
|
|
|
install -Dm644 src/systemd/_sd-common.h "${pkgdir}/usr/include/systemd/_sd-common.h"
|
|
|
|
install -Dm644 src/systemd/sd-messages.h "${pkgdir}/usr/include/systemd/sd-messages.h"
|
|
|
|
install -Dm644 src/systemd/sd-event.h "${pkgdir}/usr/include/systemd/sd-event.h"
|
|
|
|
install -Dm644 src/systemd/sd-bus.h "${pkgdir}/usr/include/systemd/sd-bus.h"
|
|
|
|
install -Dm644 src/systemd/sd-bus-protocol.h "${pkgdir}/usr/include/systemd/sd-bus-protocol.h"
|
|
|
|
install -Dm644 src/systemd/sd-bus-vtable.h "${pkgdir}/usr/include/systemd/sd-bus-vtable.h"
|
|
|
|
install -Dm644 src/systemd/sd-daemon.h "${pkgdir}/usr/include/systemd/sd-daemon.h"
|
|
|
|
install -Dm644 src/systemd/sd-id128.h "${pkgdir}/usr/include/systemd/sd-id128.h"
|
|
|
|
install -Dm644 src/systemd/sd-journal.h "${pkgdir}/usr/include/systemd/sd-journal.h"
|
|
|
|
install -Dm644 src/systemd/sd-login.h "${pkgdir}/usr/include/systemd/sd-login.h"
|
|
|
|
|
|
|
|
# pkg-config
|
|
|
|
install -Dm644 src/libsystemd/libsystemd.pc "${pkgdir}/usr/lib/pkgconfig/libsystemd.pc"
|
|
|
|
|
|
|
|
# remove libudev stuff
|
|
|
|
cd "$pkgdir/usr/lib"
|
|
|
|
rm libudev.so* libudev.la
|
2015-06-08 09:31:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_libsystemd-udev() {
|
2017-07-24 13:37:07 +00:00
|
|
|
_libudev_version='1.6.6'
|
2016-06-24 22:43:13 +00:00
|
|
|
install='libsystemd.install'
|
|
|
|
provides=( 'libudev.so' 'libudev' )
|
2015-06-08 09:31:01 +00:00
|
|
|
|
2016-06-24 22:43:13 +00:00
|
|
|
install -Dm644 "systemd-$pkgver/.libs/libudev.la" "${pkgdir}/usr/lib/libudev.la"
|
|
|
|
install -Dm644 "systemd-$pkgver/.libs/libudev.so.$_libudev_version" "${pkgdir}/usr/lib/libudev.so.$_libudev_version"
|
|
|
|
ln -s "libudev.so.$_libudev_version" "$pkgdir/usr/lib/libudev.so.1"
|
|
|
|
ln -s "libudev.so.$_libudev_version" "$pkgdir/usr/lib/libudev.so"
|
2015-06-08 09:31:01 +00:00
|
|
|
|
2016-06-24 22:43:13 +00:00
|
|
|
install -Dm644 "systemd-$pkgver/src/libudev/libudev.pc" "$pkgdir/usr/lib/pkgconfig/libudev.pc"
|
|
|
|
install -Dm644 "systemd-$pkgver/src/libudev/libudev.h" "$pkgdir/usr/include/libudev.h"
|
2015-06-08 09:31:01 +00:00
|
|
|
}
|
2017-07-17 01:17:35 +00:00
|
|
|
|
2017-11-06 02:08:29 +00:00
|
|
|
sha1sums=('bda1bd1cb09bba798c3e125fb902f6c9e75308c4')
|