Skip to content

Instantly share code, notes, and snippets.

@AfoHT AfoHT/PKGBUILD
Created May 3, 2019

Embed
What would you like to do?
rpncalc 1.36.9
/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
# 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
You can’t perform that action at this time.