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='https://github.com/ndevilla/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')
20 cd "${pkgname}-${pkgver}"
26 cd "${pkgname}-${pkgver}"
28 install -Dm0644 src/iniparser.h "${pkgdir}"/usr/include/iniparser.h
29 install -Dm0644 src/dictionary.h "${pkgdir}"/usr/include/dictionary.h
30 install -Dm0644 libiniparser.so.1 "$pkgdir"/usr/lib/libiniparser.so.1
31 install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/iniparser/LICENSE
32 ln -sf libiniparser.so.1 "${pkgdir}"/usr/lib/libiniparser.so
33 chrpath -d "${pkgdir}"/usr/lib/libiniparser.so