summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9cba89191ee9fd22a8a1eb01d3fc5de5c3a2e753 (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
38
39
40
41
# Maintainer: Marcel Schneider <marcel@coopmasters.de>
pkgname=csv2xls
pkgver=0.4.1
pkgrel=1
pkgdesc="a command line utility which converts csv files into one (or more if splitted) Excel(TM) files."
arch=('i686' 'x86_64')
url="https://github.com/ferkulat/csv2xls"
license=('GPL')
groups=()
depends=()
makedepends=(cmake)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=( git+https://github.com/ferkulat/csv2xls.git)
md5sums=('SKIP')
noextract=()

build() {
  cd "$srcdir/$pkgname"
  git checkout v$pkgver
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  cmake --build .
}

package() {
  cd "$srcdir/$pkgname/build"

  make DESTDIR="$pkgdir/" install
  rm -rf $pkgdir/usr/include
  rm -rf $pkgdir/usr/lib
}