blob: e23ee2d94977b829a1c75799fdcc9667ebd8deda (
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
42
43
|
# Maintainer: Alad Wenter <alad@mailbox.org>
# Maintainer: jyantis <yantis@yantis.net>
# Based on the PKGBUILD for datamash from
# Timothy Rice <t.rice@ms.unimelb.edu.au>
pkgname=datamash-git
pkgver=1.2.r4.gfd49457
pkgrel=1
pkgdesc='A command-line program which performs numeric, textual and statistical operations on plain text data.'
arch=('x86_64' 'i686')
url='https://www.gnu.org/software/datamash/'
license=('GPL')
source=('git+https://git.savannah.gnu.org/git/datamash.git')
sha256sums=('SKIP')
depends=('glibc')
# XXX rsync/wget are only needed for .po files in bootstrap.
makedepends=('git' 'gperf' 'rsync' 'wget')
conflicts=('datamash')
provides=('datamash')
pkgver() {
cd datamash
git describe --long --tags | sed 's/^v//; s/-/.r/; s/-/./'
}
build() {
cd datamash
./bootstrap
./configure --prefix=/usr
make
}
check() {
cd datamash
make check
}
package() {
cd datamash
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|