File: tarball

package info (click to toggle)
gap 4.11.0-4
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 49,632 kB
  • sloc: ansic: 104,958; xml: 47,068; cpp: 11,393; sh: 4,165; perl: 1,652; makefile: 291
file content (11 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash
set -e
tarball="$1"
if [ -z "$tarball" ];  then
  echo "tarball <gap-core.zip>" 1>&2
  exit 1
fi
version="$(echo "$tarball" | sed -e 's/.*gap-\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)-core\.zip$/\1.\2.\3/')"
test -z "$version" && echo "GAP version not found" && exit 1
echo $version
mk-origtargz --package gap --version "$version" --compression xz --exclude-file 'extern/*' --exclude-file 'hpcgap/extern/*' --exclude-file '.*' "$tarball"