1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
3 # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
8 pkgdesc="A free stand-alone ini file parsing library written in portable ANSI C"
10 url="http://ndevilla.free.fr/iniparser/"
13 provides=('libiniparser.so')
14 makedepends=('chrpath')
15 source=($pkgname-$pkgver.tar.gz::https://github.com/ndevilla/iniparser/archive/v$pkgver.tar.gz)
16 md5sums=('e43b722c71b399ab17c329c04dbdf1d7')
17 sha256sums=('960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae')
26 install -Dm644 src/iniparser.h "$pkgdir"/usr/include/iniparser.h
27 install -Dm644 src/dictionary.h "$pkgdir"/usr/include/dictionary.h
28 install -Dm644 libiniparser.a "$pkgdir"/usr/lib/libiniparser.a
29 install -Dm644 libiniparser.so.1 "$pkgdir"/usr/lib/libiniparser.so.1
30 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/iniparser/LICENSE
31 ln -sf libiniparser.so.1 "$pkgdir"/usr/lib/libiniparser.so
32 chrpath -d "$pkgdir"/usr/lib/libiniparser.so