# Maintainer: Natanael Copa pkgname=libsigc++ pkgver=2.4.1 pkgrel=1 pkgdesc="type-safe Signal Framework for C++" url="http://libsigc.sourceforge.net/" arch="all" license="LGPL" depends= makedepends="m4 perl tar" subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="55945ba6e1652f89999e910f6b52047c libsigc++-2.4.1.tar.xz" sha256sums="540443492a68e77e30db8d425f3c0b1299c825bf974d9bfc31ae7efafedc19ec libsigc++-2.4.1.tar.xz" sha512sums="c461a47bf8a838fd54d2bdcbe465e999de4b49b2a8982a04e7f49f22708ede16c1653c882ba5f6e070442e541e48901cbef6eca076e4175506333fade8fc1aad libsigc++-2.4.1.tar.xz"