void-packages/srcpkgs/webkit-gtk3/webkit-gtk.template

26 lines
913 B
Text
Raw Normal View History

# Template file for 'webkit-gtk'.
#
short_desc="GTK+ port of the WebKit browser engine"
long_desc="
WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.
This is the GTK+ port of the engine."
2012-02-02 20:17:19 +00:00
do_install() {
vmkdir usr/lib/girepository-1.0
vmove usr/bin/jsc-1 usr/bin
vmove "usr/lib/libwebkitgtk-1.0.so*" usr/lib
2011-09-29 08:26:04 +00:00
vmove "usr/lib/libjavascriptcoregtk-1.0.so*" usr/lib
vmove "usr/lib/girepository-1.0/*-1.0.typelib" usr/lib/girepository-1.0
for f in $(echo ${SRCPKGDESTDIR}/usr/share/locale/*); do
2012-09-27 09:10:14 +00:00
vmove usr/share/locale/$(basename $f)/LC_MESSAGES/webkitgtk-2.0.mo \
usr/share/locale/$(basename $f)/LC_MESSAGES
done
vmove usr/share/webkitgtk-1.0 usr/share
}