aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-27 05:41:58 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-29 15:55:31 +0000
commit3d0b17a8c708cccc63661f7864632e65431dab8f (patch)
treeb09bf27330b42db108558e3d5359110079d3b748 /community
parent3ebd23732704919040723ffba4924967f00c12d9 (diff)
downloadaports-3d0b17a8c708cccc63661f7864632e65431dab8f.tar.gz
aports-3d0b17a8c708cccc63661f7864632e65431dab8f.tar.bz2
aports-3d0b17a8c708cccc63661f7864632e65431dab8f.tar.xz
community/libsigc++: move from main
Diffstat (limited to 'community')
-rw-r--r--community/libsigc++/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/libsigc++/APKBUILD b/community/libsigc++/APKBUILD
new file mode 100644
index 0000000000..c05af52ce4
--- /dev/null
+++ b/community/libsigc++/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsigc++
+pkgver=2.10.3
+pkgrel=0
+pkgdesc="type-safe Signal Framework for C++"
+url="https://github.com/libsigcplusplus/libsigcplusplus"
+arch="all"
+license="LGPL-3.0-or-later"
+makedepends="m4 perl"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/libsigc++/${pkgver%.*}/libsigc++-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+doc() {
+ default_doc
+
+ mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share
+ rmdir "$pkgdir"/usr/share
+}
+
+sha512sums="3c7f90be84724e39073c05624ad2bee6a5835e2c6cb6cf9e605edc6574eb7cd99ec153aaca6e8fcf7e3a6c031c4e9c334da32d04177d36788e64a17667c70b4e libsigc++-2.10.3.tar.xz"