initial import
This commit is contained in:
65
dillo/PKGBUILD
Normal file
65
dillo/PKGBUILD
Normal file
@@ -0,0 +1,65 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=dillo
|
||||
pkgver=3.0.5
|
||||
_debver=$pkgver
|
||||
_debrel=7
|
||||
pkgrel=3
|
||||
pkgdesc="A small, fast, free and libre graphical web browser"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://dillo-browser.github.io/'
|
||||
license=('GPL-3')
|
||||
depends=('fltk' 'libjpeg-turbo' 'libpng' 'libressl' 'perl' 'zlib')
|
||||
makedepends=('quilt')
|
||||
backup=(etc/dillo/{dillorc,domainrc,dpidrc,keysrc})
|
||||
source=("${pkgname}-${pkgver}.tar.bz2::https://deb.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.orig.tar.bz2"
|
||||
"https://deb.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${_debver}-${_debrel}.debian.tar.xz"
|
||||
"libre.patch"
|
||||
"$pkgname.desktop"
|
||||
"$pkgname.png")
|
||||
sha512sums=('d0e86f57e50da762debf592b6deb94de5ee58f84e0cae1159890262540a463aea8143d2b99c634021c1f273f91c2fe0918f30d72c3eaf91fdb541e741469b155'
|
||||
'394ea20c345cce7492bf16270805af21d4a0a3f9e626aa2550f576dea0043ea41c2c51d361ef2d0aea8b36131250030130a750b5279fa08f95086ff03a5e06fc'
|
||||
'758dc86543ae1ac0d1102e23c4a37846ffa1e663ff64198e458a28535665ab93c81c3e4a3d5faec7840f62aeae46d797711aae7b6d3e19fb8ece43178af60d9e'
|
||||
'a8632b1bb06d46781cc8dbbe3521a9da53a540eb841f523b36313b72ebe4ad24386d1ddd348bcb46556d3b569228e418258fc1493ebf1c0f89905d2df6cea816'
|
||||
'd10f20ac3402be8a2c25da63d305eb66d553e47403128706aa50ccc122b2d519b13936b8f15990cd2bad0ca36e1b6c5e576e6b794f0ad36c2bd8ee93d9780b1e')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
|
||||
# Debian patches
|
||||
export QUILT_PATCHES=debian/patches
|
||||
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
|
||||
export QUILT_DIFF_ARGS='--no-timestamps'
|
||||
|
||||
mv "$srcdir"/debian .
|
||||
|
||||
quilt push -av
|
||||
fi
|
||||
|
||||
# additional fixes as package should not contain non-free parts
|
||||
patch -Np1 -i ${srcdir}/libre.patch
|
||||
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
CFLAGS+=' -fcommon'
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-cookies \
|
||||
--enable-ssl
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
|
||||
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
10
dillo/dillo.desktop
Normal file
10
dillo/dillo.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Dillo
|
||||
GenericName=Web Browser
|
||||
Comment=Very small and fast GUI web browser
|
||||
Exec=dillo %U
|
||||
Icon=dillo
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;application/xhtml+xml;
|
||||
BIN
dillo/dillo.png
Normal file
BIN
dillo/dillo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
21
dillo/libre.patch
Normal file
21
dillo/libre.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- a/dillorc 2022-07-08 12:01:08.550744291 +0200
|
||||
+++ b/dillorc 2022-07-08 12:02:09.822207284 +0200
|
||||
@@ -160,8 +160,7 @@
|
||||
search_url="dd DuckDuckGo (https) https://duckduckgo.com/lite/?kp=-1&q=%s&kd=-1"
|
||||
search_url="Wikipedia http://www.wikipedia.org/w/index.php?search=%s&go=Go"
|
||||
search_url="Free Dictionary http://www.thefreedictionary.com/%s"
|
||||
-search_url="Startpage (https) https://www.startpage.com/do/search?query=%s"
|
||||
-search_url="Google http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s"
|
||||
+search_url="Metager (https) https://metager.org/meta/meta.ger3?eingabe=%s&focus"
|
||||
|
||||
# If set, dillo will ask web servers to send pages in this language.
|
||||
# This setting does NOT change dillo's user interface.
|
||||
@@ -206,7 +205,7 @@
|
||||
# Dillo is less capable than it really is. However, if you pretend to use a
|
||||
# different browser, servers may send you pages that work with the features
|
||||
# and bugs of that other browser -- or even disallow access in cases like
|
||||
-# wget or googlebot. Remember this before submitting bug reports.
|
||||
+# wget. Remember this before submitting bug reports.
|
||||
#
|
||||
# See http://zytrax.com/tech/web/browser_ids.htm for a compilation of strings.
|
||||
#
|
||||
Reference in New Issue
Block a user