Skip to content

Commit

Permalink
[rmkit] add rpncalc
Browse files Browse the repository at this point in the history
  • Loading branch information
okay committed Jan 27, 2022
1 parent 293626f commit d0f3f8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/rmkit/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

rpncalc:

* add new calculator, rpncalc
* add better spacing and layout
* add push after operation behavior (next input is on new stack element)

Expand Down
16 changes: 15 additions & 1 deletion package/rmkit/package
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2021 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(bufshot dumbskull genie harmony iago lamp mines nao remux simple wordlet)
pkgnames=(bufshot dumbskull genie harmony iago lamp mines nao remux rpncalc simple wordlet)
timestamp=2021-01-27T07:18:10Z
maintainer="raisjn <[email protected]>"
license=MIT
Expand Down Expand Up @@ -176,6 +176,20 @@ remux() {
}
}

rpncalc() {
pkgdesc="RPN Calculator"
url="https://rmkit.dev/apps/rpncalc"
pkgver=0.0.1-1
section="math"

package() {
install -D -m 755 "$srcdir"/src/build/rpncalc "$pkgdir"/opt/bin/rpncalc
install -D -m 644 "$srcdir"/src/rpncalc/rpncalc.draft "$pkgdir"/opt/etc/draft/rpncalc.draft
install -D -m 644 "$srcdir"/src/rpncalc/calculator.png "$pkgdir"/opt/etc/draft/icons/calculator.png
}

}

simple() {
pkgdesc="Simple app script for writing scripted applications"
url="https://rmkit.dev/apps/sas"
Expand Down

0 comments on commit d0f3f8e

Please sign in to comment.