summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO31
-rw-r--r--LICENSE29
-rw-r--r--PKGBUILD43
-rw-r--r--arch.patch10
-rw-r--r--badwolf.desktop15
-rw-r--r--badwolf.install4
6 files changed, 132 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..21546affb1f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = badwolf
+ pkgdesc = A minimalist and privacy-oriented WebKit browser.
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://hacktivis.me/projects/badwolf
+ install = badwolf.install
+ arch = i686
+ arch = pentium4
+ arch = x86_64
+ arch = aarch64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = BSD
+ depends = webkit2gtk
+ source = https://hacktivis.me/releases/badwolf-0.3.0.tar.gz
+ source = https://hacktivis.me/releases/badwolf-0.3.0.tar.gz.sig
+ source = https://hacktivis.me/releases/badwolf-0.3.0_Prevent-the-statusbar-label-from-resizing-the-window.patch
+ source = arch.patch
+ source = badwolf.desktop
+ source = LICENSE
+ validpgpkeys = DDC9237C14CF6F4DD847F6B390D93ACCFEFF61AE
+ sha512sums = 6775fc673d3c985d2420e017bdefb0b0106c395eada04f54415e901e40779ebc427ab1b3135e1489077b9fbf5529be9e5d4d81a9b87001a55dfe6c15efa0b8c6
+ sha512sums = SKIP
+ sha512sums = 2d201f91cd4e9462bc1e68f3d107c32d73a01a3826ab679afa6aa6473dcec68f46544c92f8de6333b53cb9712bebf6f836652d7fb52e6f2fb7511e94940036f9
+ sha512sums = 96511e3e3f2a9bd6db4bf5b26bf3ccecd8de0cbebfe492d29290af2dc94187d5dcc6c3b8c7dec6bab24b4aa05c45f1d5f964791071fc53f457d2f5944b64fe02
+ sha512sums = 8e4a0f33b2374dddb8e7a7ec2a8d7783f34e8904838a9e62a80205056719177f1c4a1b4eb5e2088ec3a495ddaf210bdf65cfccca133352583ccf94466fbf7b72
+ sha512sums = cee933ab08b1e05e526ddb7ee4f2e3243ebe27614e713201439e14432ce76a4eb009a96a36d666521a96661c481437d8393f4cd2f88acea138702784ce14e883
+
+pkgname = badwolf
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..adf14c434329
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+BSD 3-Clause License
+
+Copyright (c) 2019, Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..6cddf5325dfc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Leia <waste at mrtino dot eu>
+
+pkgname=badwolf
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="A minimalist and privacy-oriented WebKit browser."
+url="https://hacktivis.me/projects/badwolf"
+arch=('i686' 'pentium4' 'x86_64' 'aarch64' 'arm' 'armv6h' 'armv7h')
+license=('BSD')
+depends=('webkit2gtk')
+source=("https://hacktivis.me/releases/badwolf-$pkgver.tar.gz"
+ "https://hacktivis.me/releases/badwolf-$pkgver.tar.gz.sig"
+ "https://hacktivis.me/releases/badwolf-0.3.0_Prevent-the-statusbar-label-from-resizing-the-window.patch"
+ "arch.patch"
+ "badwolf.desktop"
+ "LICENSE")
+sha512sums=('6775fc673d3c985d2420e017bdefb0b0106c395eada04f54415e901e40779ebc427ab1b3135e1489077b9fbf5529be9e5d4d81a9b87001a55dfe6c15efa0b8c6'
+ 'SKIP'
+ '2d201f91cd4e9462bc1e68f3d107c32d73a01a3826ab679afa6aa6473dcec68f46544c92f8de6333b53cb9712bebf6f836652d7fb52e6f2fb7511e94940036f9'
+ '96511e3e3f2a9bd6db4bf5b26bf3ccecd8de0cbebfe492d29290af2dc94187d5dcc6c3b8c7dec6bab24b4aa05c45f1d5f964791071fc53f457d2f5944b64fe02'
+ '8e4a0f33b2374dddb8e7a7ec2a8d7783f34e8904838a9e62a80205056719177f1c4a1b4eb5e2088ec3a495ddaf210bdf65cfccca133352583ccf94466fbf7b72'
+ 'cee933ab08b1e05e526ddb7ee4f2e3243ebe27614e713201439e14432ce76a4eb009a96a36d666521a96661c481437d8393f4cd2f88acea138702784ce14e883')
+validpgpkeys=(DDC9237C14CF6F4DD847F6B390D93ACCFEFF61AE)
+install=badwolf.install
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/badwolf-0.3.0_Prevent-the-statusbar-label-from-resizing-the-window.patch"
+ # In order to be compliant with Arch Linux directory guidelines
+ patch -p1 -i "$srcdir/arch.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 badwolf.desktop "$pkgdir/usr/share/applications/badwolf.desktop"
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch.patch b/arch.patch
new file mode 100644
index 000000000000..30a50d1d12a2
--- /dev/null
+++ b/arch.patch
@@ -0,0 +1,10 @@
+--- a/Makefile 2019-07-05 08:31:23.000000000 +0200
++++ b/Makefile 2019-08-18 15:02:02.175775084 +0200
+@@ -1,6 +1,6 @@
+ .POSIX:
+
+-PREFIX = /usr/local
++PREFIX = /usr
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/share/man
+ DATADIR = $(PREFIX)/share/badwolf
diff --git a/badwolf.desktop b/badwolf.desktop
new file mode 100644
index 000000000000..af993592ccd5
--- /dev/null
+++ b/badwolf.desktop
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Badwolf
+GenericName=Web Browser
+GenericName[fr]=Navigateur Web
+Comment=A minimalist and privacy-oriented web browser
+Comment[fr]=Un navigateur web minimaliste et orienté vers le respect de la vie privée
+Categories=Network;WebBrowser
+Keywords=Internet;WWW;Browser;Web
+Keywords[fr]=Internet;WWW;Browser;Web;Surfer;Navigateur
+Exec=badwolf
+StartupNotify=true
+MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https
+Terminal=false
diff --git a/badwolf.install b/badwolf.install
new file mode 100644
index 000000000000..42f24381d456
--- /dev/null
+++ b/badwolf.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo "-- If you want to modify config.h (which has some GUI and WebKit parameters), you can do so by accessing the build directory (directory location varies depending on how you built it, e.g with makepkg or yay)."
+ /bin/true
+}