aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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 0f68b6cabe00..a036f99a4b6f 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 57395a80b331..f1d2933fb205 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"