contrib/midori/Pkgfile

25 lines
857 B
Plaintext
Raw Normal View History

2009-11-22 17:53:10 +01:00
# Description: Midori is a lightweight web browser.
2020-07-12 20:48:11 +02:00
# URL: https://www.midori-browser.org/
# Maintainer: UNMAINTAINED
# Depends on: aria2 desktop-file-utils gcr3 gst-libav gst-plugins-good json-glib libnotify libpeas webkitgtk xorg-libxscrnsaver
2009-11-22 17:53:10 +01:00
name=midori
2019-10-26 03:43:04 +02:00
version=9.0
release=1
_shasum=0cc28643593f53c47b453838152dcbe35a9a287bff38bda830844eb8f321a4f48c99b21e16a9b07bebdd0abc936d88fd759c3222a36325aa667a28ae00148be3
source=(https://src.fedoraproject.org/repo/pkgs/$name/$name-v$version.tar.gz/sha512/$_shasum/$name-v$version.tar.gz)
2009-11-22 17:53:10 +01:00
build() {
2020-11-08 10:13:24 +01:00
cmake -S $name-v$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
2020-12-07 00:58:37 +01:00
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -fPIC -w" \
2020-11-08 13:00:40 +01:00
-Wno-dev
2020-11-08 10:13:24 +01:00
cmake --build build -j ${JOBS-1}
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/share/{doc,locale}
2009-11-22 17:53:10 +01:00
}