summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4833b6135fd7ab0f31e9b728d3e94e353f2d1cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
pkgname=libsigcpp1.2
pkgver=1.2.7
pkgrel=3
pkgdesc="A typesafe callback system for standard C++"
arch=('i686' 'x86_64')
url="http://libsigc.sourceforge.net/"
license=('LGPL')
depends=('glibc')
makedepends=('setconf')
source=(http://ftp.gnome.org/pub/GNOME/sources/libsigc++/1.2/libsigc++-$pkgver.tar.bz2)
md5sums=('212f48536019e1f003d2509b4c9b36df')

build() {
  cd "$srcdir/libsigc++-$pkgver"
  ./configure --prefix=/usr || return 1
  setconf Makefile SUBDIRS "sigc++ doc"
  make || return 1
  make DESTDIR="$pkgdir/" install || return 1
  find "$pkgdir" -name "*.la" -exec rm {} +
  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}

# vim:set ts=2 sw=2 et: