diff options
author | Dimitris Kiziridis | 2020-08-03 23:13:06 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-08-03 23:13:06 +0300 |
commit | 676fd7b240465167e5d284f190e9b31cee6db425 (patch) | |
tree | 11742e87d20fb895d6c85fa7ab16d702ad02f3e3 /PKGBUILD | |
download | aur-solve-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b2279446dea6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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}/" +}
\ No newline at end of file |