summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bbf91870b9eb24325627f0c716847aaa374412e6 (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
pkgname=graph-plotter-hg
_pkgname=graph-plotter-code
pkgver=r221.a19b1a5d911b
pkgrel=1
pkgdesc="A simple and very fast tool to view and analyse numerical data (e.g. csv files)"
arch=('x86_64')
url="https://sourceforge.net/projects/graph-plotter/"
# https://www.linux.org.ru/forum/development/15265191
license=('GPL3')
depends=('sdl2_image' 'sdl2_ttf')
makedepends=('mercurial')
source=("${_pkgname}"::'hg+http://hg.code.sf.net/p/graph-plotter/code')
#hg clone http://hg.code.sf.net/p/graph-plotter/code graph-plotter-code
sha256sums=('SKIP')

pkgver() {
    cd "${_pkgname}"
    printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

build() {
    cd "${_pkgname}/src"
    make -e 'BUILD=./tmp/gp'
}

package() {
    install -Dm755  "${_pkgname}/src/tmp/gp/gp" "$pkgdir/usr/bin/gp"
}