summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a1d8bf497d19a6d32ebdceab2e07dc13d95b8b6 (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
# Maintainer: Byeonghoon Yoo <bh322yoo gmail com>
# Contributor: Byeonghoon Yoo <bh322yoo gmail com>

pkgname=gdbuspp
pkgver=3
pkgrel=1
pkgdesc='GDBus++ - a glib2 D-Bus wrapper for C++ '
arch=('x86_64' 'aarch64')
url="https://codeberg.org/OpenVPN/${pkgname}"
license=('AGPL-3.0-only')
depends=(
  'glib2>=2.56'
)
makedepends=(
  'meson'
)
source=(
  "https://swupdate.openvpn.net/community/releases/gdbuspp-${pkgver}.tar.xz"
)
sha256sums=(
  'c7a053a13c4eb5811a542b747d5fcdb3a8e58a4a42c7237cc5e2e2ca72e0c94e'
)

prepare() {
  meson subprojects download --sourcedir="gdbuspp-${pkgver}"
}

build() {
  arch-meson "gdbuspp-${pkgver}" _builddir
  meson compile -C _builddir
}

package() {
  meson install -C _builddir --destdir "$pkgdir"
}