forked from pool/fontforge
8e6b5e3c4a
- also repackage the broken gnulib links to fix build with newer libtool OBS-URL: https://build.opensuse.org/request/show/304929 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=50
25 lines
531 B
Bash
25 lines
531 B
Bash
#!/bin/sh
|
|
|
|
#
|
|
# repack source -- delete libX11-*.noarch.rpm from there; see bug #926061
|
|
#
|
|
|
|
VERSION=$1
|
|
|
|
if [ -z $VERSION ]; then
|
|
echo "usage: $0 date_version"
|
|
echo "example: $0 20150330"
|
|
exit 1
|
|
fi
|
|
|
|
wget "https://github.com/fontforge/fontforge/releases/download/$VERSION/fontforge-$VERSION.tar.gz"
|
|
tar xf fontforge-$VERSION.tar.gz
|
|
cd fontforge-*
|
|
rm win/gold/libX11-*.noarch.rpm
|
|
./bootsrap --copy --force
|
|
cd ..
|
|
tar czf fontforge-$VERSION-repacked.tar.gz fontforge-$VERSION
|
|
rm -rf fontforge-$VERSION
|
|
rm fontforge-$VERSION.tar.gz
|
|
|