summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlorlouis2019-09-18 12:56:07 -0400
committerlorlouis2019-09-18 12:56:07 -0400
commit709c8b3af9130ed0b8df5820f81f38a411496b88 (patch)
treeab2c60ca3767a922b31dd6e626a8cae6d39b7367
downloadaur-709c8b3af9130ed0b8df5820f81f38a411496b88.tar.gz
Added the files for the package
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD28
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6d795c16780
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = rpolcalc-git
+ pkgdesc = A powerfull reverse notation calculator for your terminal
+ pkgver = c23e6a9
+ pkgrel = 1
+ url = https://github.com/lorlouis/RpolCalc
+ arch = x86_64
+ arch = i686
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ arch = aarch64
+ license = GPL
+ makedepends = cmake
+ makedepends = git
+ makedepends = gcc-libs
+ depends = gcc-libs
+ provides = rpolcalc
+ source = rpolcalc-git::git+https://github.com/lorlouis/RpolCalc.git#branch=master
+ md5sums = SKIP
+
+pkgname = rpolcalc-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d64a82d47dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Louis Sven Goulet <louis dot sven at gmail dot com>
+pkgname="rpolcalc-git"
+pkgver=c23e6a9
+pkgrel=1
+pkgdesc="A powerfull 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
+}