updated on Fri Jan 20 20:16:25 UTC 2012
[aur-mirror.git] / libsigcpp1.2 / PKGBUILD
blob4833b6135fd7ab0f31e9b728d3e94e353f2d1cdb
1 # Contributor: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
3 pkgname=libsigcpp1.2
4 pkgver=1.2.7
5 pkgrel=3
6 pkgdesc="A typesafe callback system for standard C++"
7 arch=('i686' 'x86_64')
8 url="http://libsigc.sourceforge.net/"
9 license=('LGPL')
10 depends=('glibc')
11 makedepends=('setconf')
12 source=(http://ftp.gnome.org/pub/GNOME/sources/libsigc++/1.2/libsigc++-$pkgver.tar.bz2)
13 md5sums=('212f48536019e1f003d2509b4c9b36df')
15 build() {
16   cd "$srcdir/libsigc++-$pkgver"
17   ./configure --prefix=/usr || return 1
18   setconf Makefile SUBDIRS "sigc++ doc"
19   make || return 1
20   make DESTDIR="$pkgdir/" install || return 1
21   find "$pkgdir" -name "*.la" -exec rm {} +
22   install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
25 # vim:set ts=2 sw=2 et: