summaryrefslogtreecommitdiffstats
path: root/system/cantarell-fonts/cantarell-fonts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/cantarell-fonts/cantarell-fonts.SlackBuild')
-rw-r--r--system/cantarell-fonts/cantarell-fonts.SlackBuild19
1 files changed, 15 insertions, 4 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