summaryrefslogtreecommitdiffstats
path: root/system/cantarell-fonts
diff options
context:
space:
mode:
author Edinaldo P. Silva2018-05-29 02:34:53 +0200
committer Willy Sudiarto Raharjo2018-05-29 02:34:53 +0200
commit278ec3fb72e0b98bda2d171009e282b9f475d773 (patch)
tree32d34186202fd546b04857f010205965d5bd3d0c /system/cantarell-fonts
parent08034c1b4c8858ba4745c8519f1709a942746088 (diff)
downloadslackbuilds-278ec3fb72e0b98bda2d171009e282b9f475d773.tar.gz
system/cantarell-fonts: Updated for version 0.0.25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/cantarell-fonts')
-rw-r--r--system/cantarell-fonts/cantarell-fonts.SlackBuild19
-rw-r--r--system/cantarell-fonts/cantarell-fonts.info8
2 files changed, 19 insertions, 8 deletions
diff --git a/system/cantarell-fonts/cantarell-fonts.SlackBuild b/system/cantarell-fonts/cantarell-fonts.SlackBuild
index 0f68b6cabe..a036f99a4b 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
diff --git a/system/cantarell-fonts/cantarell-fonts.info b/system/cantarell-fonts/cantarell-fonts.info
index 57395a80b3..f1d2933fb2 100644
--- a/system/cantarell-fonts/cantarell-fonts.info
+++ b/system/cantarell-fonts/cantarell-fonts.info
@@ -1,10 +1,10 @@
PRGNAM="cantarell-fonts"
-VERSION="0.101"
+VERSION="0.0.25"
HOMEPAGE="https://github.com/GNOME/cantarell-fonts"
-DOWNLOAD="https://github.com/GNOME/cantarell-fonts/archive/0.101/cantarell-fonts-0.101.tar.gz"
-MD5SUM="3848abf3569e8ff6ec741d9eefb7d326"
+DOWNLOAD="https://github.com/GNOME/cantarell-fonts/archive/0.0.25/cantarell-fonts-0.0.25.tar.gz"
+MD5SUM="dc5b0e9395e187f67623c60ece19fd7b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="appstream-glib"
+REQUIRES="gnome-common"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"