diff options
author | David Herrmann | 2018-01-27 14:54:18 +0100 |
---|---|---|
committer | David Herrmann | 2018-01-27 14:55:03 +0100 |
commit | ce0f2d01034ba2050d7ecedc1ce82476cd96ee6e (patch) | |
tree | 1d60d3f656cf5ef747aa0380a086f710cdcf6fbe | |
parent | dc455c576edad5ee8a7cd4e1b12a11090f43f453 (diff) | |
download | aur-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-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 5 deletions
@@ -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 @@ -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: |