summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2279446dea60bd98a1a5c8ff879a9c6972cb25d (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
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=solve-git
_pkgname=solve
pkgver=r8.1186267
pkgrel=1
pkgdesc="Enables the terminal to perform float point math"
arch=('any')
url='https://gitlab.com/es20490446e/solve'
license=('AGPL')
provides=('solve')
depends=('bash')
makedepends=('git')
source=("solve::git+${url}")
sha256sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${_pkgname}"
  cp -avR root/usr "${pkgdir}/"
}