summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Herrmann2018-01-27 14:54:18 +0100
committerDavid Herrmann2018-01-27 14:55:03 +0100
commitce0f2d01034ba2050d7ecedc1ce82476cd96ee6e (patch)
tree1d60d3f656cf5ef747aa0380a086f710cdcf6fbe
parentdc455c576edad5ee8a7cd4e1b12a11090f43f453 (diff)
downloadaur-ce0f2d01034ba2050d7ecedc1ce82476cd96ee6e.tar.gz
build: sync with non-git package
Sync the build-instructions with the non-git package. In particular, rely on arch-meson and drop the makefile workarounds. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52496c3698e8..33707514aac6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Jan 27 13:54:58 UTC 2018
pkgbase = dbus-broker-git
pkgdesc = Linux D-Bus Message Broker
- pkgver = r963.a75ba60
+ pkgver = r1056.d4a8ac3
pkgrel = 1
url = https://github.com/bus1/dbus-broker
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index ea70e54c69e2..6e7efb8c5c93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgorg=bus1
_pkgname=dbus-broker
pkgdesc='Linux D-Bus Message Broker'
-pkgver=r963.a75ba60
+pkgver=r1056.d4a8ac3
pkgrel=1
pkgname=$_pkgname-git
@@ -14,6 +14,7 @@ depends=('libsystemd' 'expat' 'glib2')
makedepends=('git' 'meson' 'systemd' 'python-docutils')
provides=("$_pkgname")
conflicts=("$_pkgname")
+
source=("$pkgname::git+https://github.com/$_pkgorg/$_pkgname"
"git+https://github.com/c-util/c-rbtree"
"git+https://github.com/c-util/c-sundry"
@@ -45,9 +46,10 @@ prepare() {
build() {
cd build
- meson setup ../$pkgname --prefix=/usr --buildtype=release -Db_lto=true
+ CFLAGS="$CFLAGS -Wno-unused-parameter"
+ CFLAGS="$CFLAGS -Wno-maybe-uninitialized"
+ arch-meson ../$pkgname
ninja
- make -C ../$pkgname BUILDDIR="$PWD" docs
}
check() {
@@ -58,7 +60,6 @@ check() {
package() {
cd build
DESTDIR="$pkgdir" ninja install
- install -Dt "$pkgdir/usr/share/man/man1" -m644 docs/*.1
}
# vim:set sw=2 et: