sc: update to debian patch 4.1

This commit is contained in:
Juergen Daubert 2022-02-07 14:52:08 +01:00
parent acd0de726d
commit fd1998c06b
2 changed files with 22 additions and 22 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/SEsUXEfoCnFcmUBiU77KEzKDwiCt48NSXieWOrVAfCAwCD3bgK0gqt5BfcN+OX1msqNHPnX8z9N6LUTTujzCwU=
SHA256 (Pkgfile) = 86c7a810f6c5ac081ed920b301fd4ac3910860a9dc2f0c009fa649eea01af48d
RWSE3ohX2g5d/fcX2/TLAgRN+1+EXs24ubc1KsR1ARBkmVuPjZscb2WyiEJ9d5YRCwbvl0CwzQuCNJR4U29p1oLwhdTEFScjaQc=
SHA256 (Pkgfile) = adb46ccefe93ce38d3db9ed5597551215311558966b8f0792148d08aba74cfa8
SHA256 (.footprint) = 743761643f2ec04193f9766f2c2e84c0232755523f7e7d67eed13bf8f71f794d
SHA256 (sc_7.16.orig.tar.gz) = e541f98bcf78ded2de2ce336abda9705a24b6ce67fc82806107880bf6504642a
SHA256 (sc_7.16-4.debian.tar.xz) = 8bc1ad000417a9d7c22aa68b75da4d30bd662be04cec91f0c7c381fd06bb07e4
SHA256 (sc_7.16-4.1.debian.tar.xz) = 7db779e11d1517e18ec7d93e83c57ccdca782c620faba5aa7e8cbbfd1c53fe2e

View File

@ -1,30 +1,30 @@
# Description: Curses based spreadsheet with vi key-bindings
# URL: http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ncurses
# URL: http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ncurses
name=sc
version=7.16
release=6
release=7
source=(http://ftp.de.debian.org/debian/pool/main/s/sc/sc_7.16.orig.tar.gz \
http://ftp.de.debian.org/debian/pool/main/s/sc/sc_7.16-4.debian.tar.xz)
http://ftp.de.debian.org/debian/pool/main/s/sc/sc_7.16-4.1.debian.tar.xz)
build () {
cd $name-$version
build() {
cd $name-$version
local p
for p in $(< $SRC/debian/patches/series); do
patch -p1 -i $SRC/debian/patches/$p
done
local p
for p in $(< $SRC/debian/patches/series); do
patch -p1 -i $SRC/debian/patches/$p
done
sed -e "/^CFLAGS=/s/-O2 -pipe/$CFLAGS/" \
-e "/^LIBDIR=/s|doc/||" \
-e "/^LIB=/s/ncurses/ncursesw/" -i Makefile
sed -e "/^CFLAGS=/s/-O2 -pipe/$CFLAGS/" \
-e "/^LIBDIR=/s|doc/||" \
-e "/^LIB=/s/ncurses/ncursesw/" -i Makefile
install -d $PKG/usr/{bin,share/man/man1,share/sc}
install -d $PKG/usr/{bin,share/man/man1,share/sc}
make
make prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
sed -i "s|$PKG||g" $PKG/usr/share/man/man1/sc.1
make
make prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
sed -i "s|$PKG||g" $PKG/usr/share/man/man1/sc.1
}