summaryrefslogtreecommitdiff
path: root/gdbuspp/PKGBUILD
blob: ccc708af0d166a487446677372ef2ba73adf24be (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Byeonghoon Yoo <bh322yoo gmail com>

pkgname=gdbuspp
pkgver=1
pkgrel=2
pkgdesc='GDBus++ - a glib2 D-Bus wrapper for C++ '
arch=('i486' 'i686' 'pentium4' 'x86_64' 'aarch64' 'armv7h')
url="https://codeberg.org/OpenVPN/${pkgname}"
license=('AGPL-3.0-only')
_pinned_dependencies=(
  'gcc-libs=14.1.1+r309+gbb34b7eda1f'
  'glibc>=2.39+r52+gf8e4623421'
  'libgio-2.0.so=0'
  'libglib-2.0.so=0'
  'libgobject-2.0.so=0'
)
depends=(
  'glib2>=2.56'
  "${_pinned_dependencies[@]}"
)
makedepends=(
  'meson'
)
source=(
  "https://swupdate.openvpn.net/community/releases/gdbuspp-${pkgver}.tar.xz"
)
sha256sums=(
  'e53e47f8529109e138d59ff38374818692b6fe26f2fee2d00642bba272e117a3'
)

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

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

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