# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=sc pkgver=7.16 pkgrel=8 pkgdesc="Speadsheet Calculator" url="https://github.com/erithmetic/sc" arch="all" license="Public-Domain" makedepends="ncurses-dev byacc" subpackages="$pkgname-doc" source="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/sc-$pkgver.tar.gz format-security.patch sc_7.16-2.patch " prepare() { default_prepare sed -i -e '171 {s/^/#/}' \ -e '334 {s/^/#/}' \ "$builddir"/Makefile } build() { make } package() { mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/lib" "$pkgdir/usr/share/doc" \ "$pkgdir/usr/share/man/man1" make prefix="$pkgdir"/usr MANDIR="$pkgdir/usr/share/man/man1" install } sha512sums=" efa495ba21d01b578a53f09101ccc28b564437317e0860904ad59136a24df9619dfc8715339296ae1567eaa8d620cdabc9bc2784962bc1c93e3bbd086856407b sc-7.16.tar.gz c5298dc9a7debf185027df30144efdc7ab4db425ff672b4466a542f1d376d28346ef82b6b5ba7e7d6e777420217724f8f474f495d558bbaa8164d4a6beb10de1 format-security.patch cb025e84148085e37bfb0ee02bdda60e5ab146ded14f5f0da2f17b3dbf0ba330eef87e534f8a0085265e53295591de222350eb918bb0d1d2994894ce19b16862 sc_7.16-2.patch "