summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/gtkmm+3.0/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/gtkmm+3.0/APKBUILD b/user/gtkmm+3.0/APKBUILD
new file mode 100644
index 000000000..f8a441882
--- /dev/null
+++ b/user/gtkmm+3.0/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=gtkmm+3.0
+pkgver=3.24.0
+pkgrel=0
+pkgdesc="C++ interfaces for GTK+ 3"
+url="https://gnome.org"
+arch="all"
+options="!check" # Tests require X
+license="GPL-2.0+ AND LGPL-2.1+"
+depends=""
+makedepends="glibmm-dev pangomm-dev atkmm-dev gtk+3.0-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
+builddir="$srcdir/gtkmm-$pkgver"
+
+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="94658fbf7eebbac2a864d6c7d3cd0e6ffd4ac213fd1d9986d721d4906c7a43a45d8757df475879ee37ef54ec5e3fac7d9a8e4a194b97b2be72a10743bf2e13ac gtkmm-3.24.0.tar.xz"