blob: a0931105a0a3f24e3591109cf857cfbd3fc576fb (
plain)
1 # Description: ini file parser
2 # URL: https://github.com/ndevilla/iniparseri
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: chrpath
5
6 name=iniparser
7 version=4.1
8 release=1
9 source=(https://github.com/ndevilla/iniparser/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13 make
14 install -Dm0644 src/iniparser.h $PKG/usr/include/iniparser.h
15 install -Dm0644 src/dictionary.h $PKG/usr/include/dictionary.h
16 install -Dm0644 libiniparser.so.1 $PKG/usr/lib/libiniparser.so.1
17 ln -sf libiniparser.so.1 $PKG/usr/lib/libiniparser.so
18 chrpath -d $PKG/usr/lib/libiniparser.so
19 }
|