mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
use official source
This commit is contained in:
parent
4f42e9054d
commit
17bae10815
1 changed files with 7 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-1.0}
|
||||
VERSION=${VERSION:-20111129}
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-cyco}
|
||||
|
@ -21,14 +21,12 @@ mkdir -p $PKG
|
|||
FONTDIR=/usr/share/fonts/TTF
|
||||
|
||||
# Move the fonts into place:
|
||||
mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM
|
||||
mkdir -p $PKG$FONTDIR $PKG/usr/doc/
|
||||
cd $PKG$FONTDIR/
|
||||
[ ! -e $CWD/Roboto-Regular-webfont.ttf ] && wget -c -O $CWD/Roboto-Regular-webfont.ttf http://boingboing.net/features/roboto/roboto/Roboto-Regular-webfont.ttf
|
||||
cp $CWD/Roboto-Regular-webfont.ttf .
|
||||
[ ! -e $CWD/Roboto-Italic-webfont.ttf ] && wget -c -O $CWD/Roboto-Italic-webfont.ttf http://boingboing.net/features/roboto/roboto/Roboto-Italic-webfont.ttf
|
||||
cp $CWD/Roboto-Italic-webfont.ttf .
|
||||
[ ! -e $CWD/Roboto-Bold-webfont.ttf ] && wget -c -O $CWD/Roboto-Bold-webfont.ttf http://boingboing.net/features/roboto/roboto/Roboto-Bold-webfont.ttf
|
||||
cp $CWD/Roboto-Bold-webfont.ttf .
|
||||
[ ! -e $CWD/Roboto_Hinted_$VERSION.zip ] && wget -c https://dl-ssl.google.com/android/design/Roboto_Hinted_$VERSION.zip -O $CWD/Roboto_Hinted_$VERSION.zip
|
||||
unzip $CWD/Roboto_Hinted_$VERSION.zip
|
||||
mv Roboto_Hinted_$VERSION/*.ttf .
|
||||
mv Roboto_Hinted_$VERSION $PKG/usr/doc/$PRGNAM
|
||||
|
||||
# Post-install script:
|
||||
mkdir -p $PKG/install
|
||||
|
@ -55,7 +53,7 @@ $PRGNAM:
|
|||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: http://news.ycombinator.com/item?id=3417454
|
||||
$PRGNAM: https://developer.android.com/design/style/typography.html
|
||||
$PRGNAM:
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue