summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornyz932016-12-25 18:25:05 +0100
committernyz932016-12-25 18:25:05 +0100
commitf8cf10b4d8578d141d3160c0061f85c183c81deb (patch)
tree6067176536c2c641d812f1c41f1d0e4664e3a0d6
downloadaur-f8cf10b4d8578d141d3160c0061f85c183c81deb.tar.gz
init
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD53
-rw-r--r--libsystemd.install9
3 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c1c83e0ad45
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+pkgbase = libsystemd-eudev-standalone
+ pkgdesc = Standalone systemd libs (for eudev)
+ pkgver = 231
+ pkgrel = 1
+ url = http://www.freedesktop.org/wiki/Software/systemd
+ install = libsystemd.install
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ license = LGPL2.1
+ license = MIT
+ makedepends = acl
+ makedepends = cryptsetup
+ makedepends = docbook-xsl
+ makedepends = gobject-introspection
+ makedepends = gperf
+ makedepends = gtk-doc
+ makedepends = intltool
+ makedepends = kmod
+ makedepends = libcap
+ makedepends = libgcrypt
+ makedepends = libmicrohttpd
+ makedepends = libxslt
+ makedepends = linux-api-headers
+ makedepends = pam
+ makedepends = python
+ makedepends = python-lxml
+ makedepends = quota-tools
+ makedepends = xz
+ provides = libsystemd.so
+ provides = libsystemd
+ options = strip
+ source = https://github.com/systemd/systemd/archive/v231.tar.gz
+ sha1sums = 47768103290d2023c3452bc36bc77f7b1fd798ea
+
+pkgname = libsystemd-eudev-standalone
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2aca7fd4be0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Jack L. Frost <fbt@fleshless.org>
+# vim: ft=sh
+
+pkgdesc="Standalone systemd libs (for eudev)"
+pkgname='libsystemd-eudev-standalone'
+pkgver=231
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/systemd"
+license=('GPL2' 'LGPL2.1' 'MIT')
+install='libsystemd.install'
+provides=( 'libsystemd.so' 'libsystemd' )
+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')
+source=( "https://github.com/systemd/systemd/archive/v${pkgver}.tar.gz" )
+sha1sums=('47768103290d2023c3452bc36bc77f7b1fd798ea')
+
+build() {
+ cd "systemd-$pkgver"
+
+ ./autogen.sh
+ ./configure
+
+ make
+}
+
+package() {
+
+ make -C "systemd-$pkgver" DESTDIR="$pkgdir" install-libLTLIBRARIES
+
+ # 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
+}
+
diff --git a/libsystemd.install b/libsystemd.install
new file mode 100644
index 00000000000..7fbf20dc4d8
--- /dev/null
+++ b/libsystemd.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo "Running ldconfig..."
+ ldconfig
+}
+
+post_upgrade() {
+ echo "Running ldconfig..."
+ ldconfig
+}