diff options
Diffstat (limited to 'user/libsigc++/APKBUILD')
-rw-r--r-- | user/libsigc++/APKBUILD | 37 |
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" |