summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d5fc99db4fcc458ea07465956c3e2a819426d34 (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
# Maintainer: Jason Kercher <jkercher43 at gmail>
pkgname=stdcsv
pkgver=1.0.1
pkgrel=1
pkgdesc="A tool/library for working with delimited files."
arch=(x86_64)  # It is only tested on x86_64
url="https://github.com/jasonKercher/libcsv"
license=(MIT)
checkdepends=(check)
provides=(libcsv.so)
source=("$pkgname-$pkgver::$url/archive/refs/tags/$pkgver.tar.gz")
md5sums=(638cae31d2257a7cf6516c715da003e8)

build() {
	cd "libcsv-$pkgver"
	./configure --prefix=/usr
	make
}

check() {
	cd "libcsv-$pkgver"
	make -k check
}

package() {
	cd "libcsv-$pkgver"
	make DESTDIR="$pkgdir/" install
}