Created
May 3, 2019 18:54
-
-
Save AfoHT/16aca77567718a2a50a3e9a3974e5d75 to your computer and use it in GitHub Desktop.
rpncalc 1.36.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/ld: scan.o:(.data.rel.ro+0x1d0): undefined reference to `pow10' | |
collect2: error: ld returned 1 exit status | |
make: *** [Makefile:76: rpncalc] Error 1 | |
rm gram.c scan.c | |
==> ERROR: A failure occurred in build(). | |
Aborting... | |
Error making: rpncalc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Kyle Keen <keenerd@gmail.com> | |
# Contributor: Oguz Han Asnaz <O.Asnaz@gmx.net> | |
pkgname=rpncalc | |
pkgver=1.36.9 | |
pkgrel=1 | |
pkgdesc="A calculator similar to dc, but uses readline and shows the stack visually." | |
arch=('i686' 'x86_64') | |
#url="http://packages.debian.org/squeeze/rpncalc" | |
url="http://homepage.hispeed.ch/david.frey/" | |
license=('GPL2') | |
depends=('readline') | |
makedepends=('bison' 'flex' 'gettext' 'ed') | |
source=("https://github.com/AfoHT/rpncalc/archive/v$pkgver.tar.gz") | |
md5sums=('f7227e7c0c649dd20ebf7be8c22e22fc') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
sed -i 's|ed .* proto.ed$|LANG=C &|' Makefile | |
make | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
make DESTDIR="$pkgdir" install | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment