1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Ray Rashif <schiv@archlinux.org>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 # Contributor: Roman Kyrylych <roman@archlinux.org>
5 # Contributor: scippio <scippio@seznam.cz>
10 pkgdesc="C/C++ Configuration File Library"
12 url="https://github.com/hyperrealm/libconfig"
23 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
24 sha512sums=('3749bf9eb29bab0f6b14f4fc759f0c419ed27a843842aaabed1ec1fbe0faa8c93322ff875ca1291d69cb28a39ece86d512aec42c2140d566c38c56dc616734f4')
25 b2sums=('94301be4d6e472fc9daeac7a04074855737ddda94bb5748cd0087fafe192cf674ea1c020808ebf855372188b6b27a57ed185323fa26988bb1fccde0566617cba')
34 ./configure --prefix=/usr
35 # prevent excessive overlinking due to libtool
36 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
41 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
42 rm "$pkgdir/usr/share/info/dir"
43 install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,NEWS,README,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"
45 # vim:set ts=2 sw=2 et: