blob: 047fcdc28b340f4ec4674ba46f2f7e2e1670fbea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Maintainer: David Herrmann <dh.herrmann@gmail.com>
_pkgorg=bus1
_pkgname=dbus-broker
pkgdesc='Linux D-Bus Message Broker'
pkgver=r1344.034b3ec
pkgrel=1
pkgname=$_pkgname-git
arch=('i686' 'x86_64')
url="https://github.com/$_pkgorg/$_pkgname"
license=('Apache')
depends=('libsystemd' 'expat')
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-dvar"
"git+https://github.com/c-util/c-ini"
"git+https://github.com/c-util/c-list"
"git+https://github.com/c-util/c-rbtree"
"git+https://github.com/c-util/c-shquote"
"git+https://github.com/c-util/c-stdaux"
"git+https://github.com/c-util/c-utf8")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
rm -Rf build
mkdir build
cd $pkgname
git submodule init
git config --local submodule.subprojects/c-dvar.url "$srcdir/c-dvar"
git config --local submodule.subprojects/c-ini.url "$srcdir/c-ini"
git config --local submodule.subprojects/c-list.url "$srcdir/c-list"
git config --local submodule.subprojects/c-rbtree.url "$srcdir/c-rbtree"
git config --local submodule.subprojects/c-shquote.url "$srcdir/c-shquote"
git config --local submodule.subprojects/c-stdaux.url "$srcdir/c-stdaux"
git config --local submodule.subprojects/c-utf8.url "$srcdir/c-utf8"
git submodule update
}
build() {
cd build
CFLAGS="$CFLAGS -Wno-unused-parameter"
CFLAGS="$CFLAGS -Wno-maybe-uninitialized"
arch-meson -Ddocs=true ../$pkgname
ninja
}
check() {
cd build
meson test
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
}
# vim:set sw=2 et:
|