diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-05-29 07:34:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-29 07:34:53 +0700 |
commit | 278ec3fb72e0b98bda2d171009e282b9f475d773 (patch) | |
tree | 32d34186202fd546b04857f010205965d5bd3d0c /system/cantarell-fonts/cantarell-fonts.SlackBuild | |
parent | 08034c1b4c8858ba4745c8519f1709a942746088 (diff) |
system/cantarell-fonts: Updated for version 0.0.25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/cantarell-fonts/cantarell-fonts.SlackBuild')
-rw-r--r-- | system/cantarell-fonts/cantarell-fonts.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/system/cantarell-fonts/cantarell-fonts.SlackBuild b/system/cantarell-fonts/cantarell-fonts.SlackBuild index 0f68b6cabe002..a036f99a4b6f0 100644 --- a/system/cantarell-fonts/cantarell-fonts.SlackBuild +++ b/system/cantarell-fonts/cantarell-fonts.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cantarell-fonts -VERSION=${VERSION:-0.101} +VERSION=${VERSION:-0.0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,8 +49,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -meson --prefix $PKG/usr build -ninja -C build all install +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG mkdir -p $PKG/usr/share/fonts/OTF mv $PKG/usr/share/fonts/cantarell $PKG/usr/share/fonts/OTF/ @@ -59,7 +70,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |