summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/glibmm/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/glibmm/APKBUILD b/user/glibmm/APKBUILD
new file mode 100644
index 000000000..e5dfbfd14
--- /dev/null
+++ b/user/glibmm/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=glibmm
+pkgver=2.58.0
+pkgrel=0
+pkgdesc="C++ interfaces for glib"
+url="https://gnome.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.1+"
+depends="glib-networking"
+makedepends="glib-dev libsigc++-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/glibmm/${pkgver%.*}/glibmm-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e376462cdf1a60ed7d7750115200162016f57797674bbf7291c11b8754a6e4394eb1e2948ce4e37247438120dba4e18f5cf9c543963c1e97d8561d174d5ae7df glibmm-2.58.0.tar.xz"