summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f8dd3e6c7ba8dcf240bce8ffb480b21303b1eb82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=fast-cpp-csv-parser-git
pkgver=r70.758f566
pkgrel=1
pkgdesc="Fast C++ CSV Parser"
arch=('any')
url="https://github.com/ben-strasser/fast-cpp-csv-parser"
license=('BSD')
makedepends=('git')
source=("git+https://github.com/ben-strasser/fast-cpp-csv-parser.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/fast-cpp-csv-parser"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/fast-cpp-csv-parser"
  install -d "${pkgdir}"/usr/include
  install -D -m644 csv.h "${pkgdir}"/usr/include
}