blob: 042ff29a83b218e24fdaac85db006eb71e094671 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: 2ion <dev@2ion.de>
pkgname=ini-git
pkgver=r13.16fd59a
pkgrel=1
pkgdesc="Command line tool for examining the contents of INI files"
arch=('i686' 'x86_64')
url="https://github.com/2ion/ini"
license=('GPL3')
depends=('iniparser')
makedepends=('autoconf' 'automake' 'pkg-config')
optdepends=('pandoc: for building the man page at compile time')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('ini::git+https://github.com/2ion/ini.git#branch=master')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
autoreconf -f -i -s
./configure --prefix=/usr
make
}
check() {
cd "$srcdir/${pkgname%-git}"
make -k check
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install-strip
}
|