Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 036dbba

Browse files
author
Matthias Koeppe
committed
build/pkgs/giac/spkg-src: Remove files with nonportable names and other unneeded files
1 parent 249fc90 commit 036dbba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/pkgs/giac/spkg-src

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ set -e
1515

1616
VERSION="1.5.0"
1717
VERSIONREV="63"
18+
PATCHSUFFIX="-p0"
1819

1920
# The upstream tarball name is: giac"$SOURCEORIG".tar.gz
2021
SOURCEORIG=_"$VERSION"-"$VERSIONREV"
2122

2223
# The name of the output file without tar.gz or tar.bz2 extension
23-
OUTPUTFILEBASENAME="$SAGE_DISTFILES"/giac-"$VERSION"."$VERSIONREV"
24+
OUTPUTFILEBASENAME="$SAGE_DISTFILES"/giac-"$VERSION"."$VERSIONREV""$PATCHSUFFIX"
2425

2526
# Testing if the output file already exist in one of gz or bz2 format:
2627
if [ -f "$OUTPUTFILEBASENAME".tar.gz -o -f "$OUTPUTFILEBASENAME".tar.bz2 ] ; then
@@ -44,6 +45,9 @@ tar -xzf giac"$SOURCEORIG".tar.gz
4445
# rename top sourcedir
4546
mv giac-"$VERSION" src
4647

48+
# remove unnecessary files
49+
rm -rf src/debian src/debianold src/doc/pari/*.html
50+
4751
# removing french html doc, but keep keywords, and working makefiles.
4852
# NB: the french html doc is huge and not GPL.
4953
# it is freely redistributable only for non commercial purposes.

0 commit comments

Comments
 (0)