blob: 973cd1e66817678df1146ca66c2dcd9ff7cbb60c (
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
|
# Maintainer: Justin Howard <jmhoward0@gmail.com>
pkgname=csvquote-git
pkgver=0.r52.baf37fa
pkgrel=1
pkgdesc="smart and simple CSV processing on the command line"
arch=('i686' 'x86_64')
url="https://github.com/dbro/csvquote"
license=('MIT')
depends=()
makedepends=('git')
conflicts=('csvquote')
provides=('csvquote')
source=("${pkgname}::git+https://github.com/dbro/csvquote.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${pkgname}"
mkdir -p "${pkgdir}/usr/bin"
make BINDIR="${pkgdir}/usr/bin" install
install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}
|