blob: 808ff23a10813aa5f6cbdb46d54356f64281c490 (
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
|
# Maintainer: Strahinya Radich <contact@strahinja.org>
pkgname=table
pkgver=0.7.16
pkgrel=1
pkgdesc="Command line utility to format and display CSV"
arch=('x86_64')
url="https://strahinja.srht.site/table"
license=('GPL3')
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~strahinja/table/archive/v$pkgver.tar.gz")
md5sums=('1a0ef3915c9704ef7f8d8261cce89ecd')
build() {
cd "${pkgname}-v$pkgver"
# Some build environments insist on having those preset, which breaks
# the build; if you really want some of them, comment the 'unset' lines
# below, but note you are on your own wrt errors.
unset BINDIR CC CFLAGS CPPFLAGS DOCDIR HEADERS INSTALL LDFLAGS LIBS
unset MANPAGE MANPREFIX OBJS PROG SRC
make FALLBACKVER="${pkgver}-$pkgrel" DESTDIR="$pkgdir" PREFIX="/usr" all
}
package() {
cd "${pkgname}-v$pkgver"
unset BINDIR CC CFLAGS CPPFLAGS DOCDIR HEADERS INSTALL LDFLAGS LIBS
unset MANPAGE MANPREFIX OBJS PROG SRC
make FALLBACKVER="${pkgver}-$pkgrel" DESTDIR="$pkgdir" PREFIX="/usr" \
install
}
|