summaryrefslogtreecommitdiff
path: root/gdbuspp
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-07-17 21:51:10 +0200
committerErich Eckner <git@eckner.net>2024-07-17 21:51:28 +0200
commitc6feb98a2b4d09744bbd4dce99a96408d648021f (patch)
tree7c8f0bd9f489e542a6c560456394a1ad1d20ea46 /gdbuspp
parentcea6b3eff3063383040e122776152ed960b90950 (diff)
downloadarchlinuxewe-c6feb98a2b4d09744bbd4dce99a96408d648021f.tar.xz
gdbuspp new
Diffstat (limited to 'gdbuspp')
-rw-r--r--gdbuspp/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/gdbuspp/PKGBUILD b/gdbuspp/PKGBUILD
new file mode 100644
index 000000000..c99fd8c24
--- /dev/null
+++ b/gdbuspp/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Byeonghoon Yoo <bh322yoo gmail com>
+
+pkgname=gdbuspp
+pkgver=1
+pkgrel=1
+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+r58+gfc9fb69ad62'
+ 'glib2=2.80.4'
+ 'glibc>=2.39+r52+gf8e4623421'
+)
+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"
+}