summaryrefslogtreecommitdiff
path: root/user/libsigc++/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-18 18:26:33 -0600
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-18 18:26:33 -0600
commit41cd8f1a48fd7314f467d4d2e0f50ccc69627b2b (patch)
tree6788dcdc1a4d1d698bc614f7f9b60e26b54ab5b2 /user/libsigc++/APKBUILD
parentf714b3b5937a4656358c00beffa9018b43334e78 (diff)
downloadpackages-41cd8f1a48fd7314f467d4d2e0f50ccc69627b2b.tar.gz
packages-41cd8f1a48fd7314f467d4d2e0f50ccc69627b2b.tar.bz2
packages-41cd8f1a48fd7314f467d4d2e0f50ccc69627b2b.tar.xz
packages-41cd8f1a48fd7314f467d4d2e0f50ccc69627b2b.zip
user/libsigc++: new package for glibmm
Diffstat (limited to 'user/libsigc++/APKBUILD')
-rw-r--r--user/libsigc++/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libsigc++/APKBUILD b/user/libsigc++/APKBUILD
new file mode 100644
index 000000000..624c2d4bc
--- /dev/null
+++ b/user/libsigc++/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libsigc++
+pkgver=2.10.1
+pkgrel=0
+pkgdesc="Library for type-safe callbacks in C++"
+url="https://libsigcplusplus.github.io/libsigcplusplus/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/libsigc++/${pkgver%.*}/libsigc++-$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="e2bd7b1a97019be010dee1594271bbf7cae92b28e31dcb3c6d7d60643a0996233f0a75a9337b4afcb5b7dc453bfc3159d82f6daacfbcd8993a39ccecaf811bb2 libsigc++-2.10.1.tar.xz"