diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2017-12-22 13:30:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-22 13:30:40 +0700 |
commit | 8e06901e68cda5edfdd5b2c6fea8f14a601f258d (patch) | |
tree | 27dac7e80aae159e3f2a3ed7234c2a78972b3157 /libraries/appstream-glib/appstream-glib.SlackBuild | |
parent | ab86c8d03398f4e06edc5e9f64088b040a2480a0 (diff) |
libraries/appstream-glib: Fix build with new meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/appstream-glib/appstream-glib.SlackBuild')
-rw-r--r-- | libraries/appstream-glib/appstream-glib.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild index 5ecc3d434423..d5c2bbfa816c 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 |