Add a PKGBUILD for surf
This commit is contained in:
parent
c497453eda
commit
2587277640
17
PKGBUILDs/surf/PKGBUILD
Normal file
17
PKGBUILDs/surf/PKGBUILD
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Maintainer: jun7 <jun7@hush.com>
|
||||||
|
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"
|
||||||
|
}
|
|
@ -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.
|
[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.
|
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:
|
## 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 mkdir usr/local/lib/surf
|
||||||
sudo ln -s /usr/lib/wyebrowser/adblock.so /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
|
### vimb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user