blob: bb33536937390d54b0659873d8a9e1c96f30dbad (
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
|
# Maintainer: Louis Sven Goulet <louis dot sven at gmail dot com>
pkgname="rpolcalc-git"
pkgver=c23e6a9
pkgrel=3
pkgdesc="A powerful reverse notation calculator for your terminal"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/lorlouis/RpolCalc"
license=('GPL')
depends=('gcc-libs')
makedepends=('cmake' 'git' 'gcc-libs')
provides=('rpolcalc')
source=("${pkgname}::git+https://github.com/lorlouis/RpolCalc.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}"
make DESTDIR="$pkgdir/" install
}
|