blob: 68ee86e313e5448ff6f0c81c256715df91e0d73e (
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
|
# Maintainer: amateurece <ethan.twardy at gmail dot com>
pkgname=phosphor-dbus-interfaces-git
_pkgname=${pkgname%%-git}
pkgver=r581.b78a0704
pkgrel=2
pkgdesc="YAML descriptors of standard dbus interfaces (in OpenBMC)"
url="https://github.com/openbmc/phosphor-dbus-interfaces"
arch=('i686' 'x86_64' 'aarch64')
license=('Apache')
depends=('sdbusplus-git')
makedepends=('git' 'meson')
source=("${pkgname}::git+https://github.com/openbmc/${_pkgname}.git")
sha256sums=('SKIP')
_meson_setup() {
arch-meson "${pkgname}" build
}
prepare() {
_meson_setup
}
pkgver() {
cd "${pkgname}"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
_meson_setup
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|