summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/appstream-glib/appstream-glib.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild
index 5ecc3d4344..d5c2bbfa81 100644
--- a/libraries/appstream-glib/appstream-glib.SlackBuild
+++ b/libraries/appstream-glib/appstream-glib.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=appstream-glib
VERSION=${VERSION:-0.7.4}
SRCVERSION=$(echo "$PRGNAM" | tr - _)_$(echo "$VERSION" | tr . _)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \
# not sure why this is necessary
sed -i "/^ COMMAND = \/usr\/bin\/g-ir-scanner/s/-lyaml //" _build/build.ninja
+# thanks ricardo j. barberis
+sed -i 's,../libappstream-glib/libappstream-glib/,../libappstream-glib/,g' _build/build.ninja
+
make
make install DESTDIR=$PKG