From 258727764011d5570f2409c0776c2ae3eebdb1f1 Mon Sep 17 00:00:00 2001 From: jun7 Date: Sun, 3 Jun 2018 02:51:35 +0900 Subject: [PATCH] Add a PKGBUILD for surf --- PKGBUILDs/surf/PKGBUILD | 17 +++++++++++++++++ README.md | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 PKGBUILDs/surf/PKGBUILD diff --git a/PKGBUILDs/surf/PKGBUILD b/PKGBUILDs/surf/PKGBUILD new file mode 100644 index 0000000..61b927e --- /dev/null +++ b/PKGBUILDs/surf/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer: jun7 +pkgname=wyebadblock-surf +pkgver=1 +pkgrel=1 +pkgdesc="adblock link to wyebadblock for surf." +arch=('x86_64') +url="https://github.com/jun7/wyebadblock" +license=('GPL3') +depends=('wyebadblock-git' 'surf') +makedepends=() +source=() + + +package() { + mkdir -p "$pkgdir/usr/local/lib/surf" + ln -s /usr/lib/wyebrowser/adblock.so "$pkgdir/usr/local/lib/surf" +} diff --git a/README.md b/README.md index 8780ffe..b8e13da 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ For example, while epiphay's webproc uses 240M RAM for [a page](http://simple-adblock.com/faq/testing-your-adblocker/), wyeb uses 160M for the same page. Of course the adblock uses 80M but not gain. -Don't worry, wyeb wills quit automatically when there is no client and 30 secs past. +Don't worry, wyebab wills quit automatically when there is no client and 30 secs past. ## usage: @@ -46,7 +46,7 @@ Make sure while you keep enable epiphany's one, it is working too. sudo mkdir usr/local/lib/surf sudo ln -s /usr/lib/wyebrowser/adblock.so /usr/local/lib/surf -See vimb below to manage the link by pacman +There is a PKGBUILD file. see the 'PKGBULDs' dir. ### vimb