blob: fb0108428b54f07ffe7523d43bc9d4f327adf62f (
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
|
# Maintainer: Yaroslav de la Peña Smirnov <yps@yaroslavps.com>
pkgname=tomlc99-git
_pkgname=${pkgname%-git}
pkgver=r76.d17c005
pkgrel=1
epoch=1
pkgdesc="TOML C library"
arch=('any')
url="https://github.com/cktan/$_pkgname"
license=('MIT')
makedepends=('make')
provides=('tomlc99')
conflicts=('tomlc99')
source=("git://github.com/cktan/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
make prefix="$pkgdir/usr/" install
}
|