Package Details: hp15c 4.6.00-1

Git Clone URL: https://aur.archlinux.org/hp15c.git (read-only, click to copy)
Package Base: hp15c
Description: A simulator for the HP-15C programmable scientific RPN calculator
Upstream URL: http://hp-15c.homepage.t-online.de/content_web.htm
Licenses: GPL3
Submitter: qguv
Maintainer: qguv
Last Packager: qguv
Votes: 8
Popularity: 0.002634
First Submitted: 2016-07-12 14:35 (UTC)
Last Updated: 2024-04-12 13:34 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2

qguv commented on 2018-11-15 01:00 (UTC)

Thanks for the patch, Moxon. I like that it verifies the checksums of the supporting files. Would you like to be credited with a contributor line, and if so, under what name and email?

I'm also getting those issues with preferences or about. I'll send an email to the upstream maintainer to see if he has any insight. Thanks!

Moxon commented on 2018-09-24 19:57 (UTC) (edited on 2018-09-24 19:59 (UTC) by Moxon)

I made it work with some modifications (see DIFF below), still it yields an error when calling preferences or about:

ERROR

can't read "APPDATA(dspf1)": no such element in array
can't read "APPDATA(dspf1)": no such element in array
    while executing
".about.cv create image 0 $yy -image $APPDATA(dspf1) -anchor nw"
    (procedure "about" line 24)
    invoked from within
"about"
    invoked from within
".onm invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .onm 1"
    (command bound to event)

DIFF

diff --git a/PKGBUILD b/PKGBUILD
index [`9f9d0b0`](https://aur.archlinux.org/cgit/aur.git/commit/?h=hp15c&id=9f9d0b0)..36051bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,20 @@ url="<http://hp-15c.homepage.t-online.de/content_web.htm>"
 arch=('any')
 license=('GPL3')
 depends=('tcl' 'tk')
-source=("$pkgname-$pkgver.zip::<https://drive.google.com/uc?export=download&id=1ewFXi6PPRsiPJESUq5A2Gp83NYSYVYKr>")
-md5sums=('c90cc630d9e5bdf70912f8cd754cc2cc')
+source=("$pkgname-$pkgver.zip::<https://drive.google.com/uc?export=download&id=1ewFXi6PPRsiPJESUq5A2Gp83NYSYVYKr>"
+   "01-hp15c-arch-docs.patch"
+   "hp15c_runner.sh"
+)
+md5sums=('c90cc630d9e5bdf70912f8cd754cc2cc'
+    'cb4a8e759f94860744057c20f90244e4'
+    'bdf3ff02949e3c716b782e8cec9ee8a1')

 prepare() {
     # patch location of help files to match Arch standards
-    patch -p1 -i '../01-hp15c-arch-docs.patch'
+    patch -p1 -i $srcdir/01-hp15c-arch-docs.patch
 }

 package() {
@@ -30,7 +38,7 @@ package() {

     # runs script in proper directory
     cp HP-15C.tcl -t "$pkgdir/usr/lib/$pkgname/"
-    install -D ../hp15c_runner.sh "$pkgdir/usr/bin/hp15c"
+    install -D hp15c_runner.sh "$pkgdir/usr/bin/hp15c"
 }

 # vim:set ts=4 sw=4 ft=sh et: