summaryrefslogtreecommitdiff
path: root/community/iniparser/PKGBUILD
blob: 40b50c544ef3d95154be9ce14a068a53ccb26845 (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
# $Id: PKGBUILD 65566 2012-02-21 08:59:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>

pkgname=iniparser
pkgver=3.0
pkgrel=2
pkgdesc="A free stand-alone ini file parsing library written in portable ANSI C"
arch=('i686' 'x86_64' 'mips64el')
url="http://ndevilla.free.fr/iniparser/"
license=('MIT')
depends=()
source=(http://ndevilla.free.fr/iniparser/$pkgname-$pkgver.tar.gz)
md5sums=('133d955064d107a4fcb7739214356ce8')

build() {
  cd $srcdir/$pkgname
  make
  install -Dm644 src/iniparser.h $pkgdir/usr/include/iniparser.h
  install -Dm644 src/dictionary.h $pkgdir/usr/include/dictionary.h
  install -Dm644 libiniparser.a $pkgdir/usr/lib/libiniparser.a
  install -Dm644 LICENSE $pkgdir/usr/share/licenses/iniparser/LICENSE
}