Commits

stretchedthin committed 5a290aa

midori

Comments (0)

Files changed (1)

var/vabs/midori/src/midori.SlackBuild

 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-./configure --prefix=/usr \
-  --libdir=/usr/lib${LIBDIRSUFFIX} \
-  --infodir=/usr/info \
-  --sysconfdir=/etc \
-  --localstatedir=/var \
-  --mandir=/usr/man \
-  --build=$CONFIGURE_TRIPLET \
-  $CONFIG_OPTIONS || exit 1
-
-make || exit 1
-
-make install DESTDIR=$PKG || exit 1
+./waf configure \
+   --prefix=/usr \
+   --libdir=/usr/lib${LIBDIRSUFFIX} \
+   --docdir=/usr/doc/$PRGNAM-$VERSION \
+   --sysconfdir=/etc \
+   --localstatedir=/var \
+   --datarootdir=/usr/share/ \
+   --mandir=/usr/man \
+   --enable-unique \
+   --enable-addons
+
+./waf build
+./waf install --destdir=$PKG
+
+# Don't clobber existing configs
+mv $PKG/etc/xdg/midori/search $PKG/etc/xdg/midori/search.new
+mv $PKG/etc/xdg/midori/extensions/adblock/config $PKG/etc/xdg/midori/extensions/adblock/config.new
+
 
 
 #######################################################################