cruxports/epiphany/Pkgfile

22 lines
795 B
Plaintext

# Description: A GNOME web browser based on the WebKit rendering engine
# URL: https://wiki.gnome.org/Apps/Web
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: appstream-glib libhandy libportal iso-codes itstool libdazzle webkitgtk gcr icu docbook-xml gobject-introspection gstreamer
# Optional: gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav libnotify enchant
name=epiphany
version=42.4
release=1
source=(https://download.gnome.org/sources/${name}/${version%.*}/${name}-${version}.tar.xz)
build() {
cd "${name}-${version}"
sed -i "/^subdir('po')/d" meson.build
meson build \
--prefix="/usr" --libexecdir="/usr/lib" \
-Ddeveloper_mode=false
ninja -C build
DESTDIR="${PKG}" meson install -C build
rm -r "${PKG}/usr/share/help"
}