Add PKGBUILD which only installs wyebab without the webkit2gtk's extension
This commit is contained in:
parent
d66ead3160
commit
2f2bb085cd
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
adblock.so
|
||||
librun.o
|
||||
wyebab
|
||||
!wyebab/
|
||||
testrun
|
||||
user.css
|
||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -1,9 +1,10 @@
|
|||
# Maintainer: jun7 <jun7@hush.com>
|
||||
pkgname=wyebadblock-git
|
||||
pkgver=1.1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="An adblock extension for webkit2gtk browsers."
|
||||
arch=('x86_64')
|
||||
provides=('wyebab-git')
|
||||
url="https://github.com/jun7/wyebadblock"
|
||||
license=('GPL3')
|
||||
depends=('webkit2gtk')
|
||||
|
@ -25,6 +26,7 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir/wyebadblock"
|
||||
DEBUG=0
|
||||
make
|
||||
}
|
||||
|
||||
|
|
36
PKGBUILDs/wyebab/PKGBUILD
Normal file
36
PKGBUILDs/wyebab/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Maintainer: jun7 <jun7@hush.com>
|
||||
pkgname=wyebab-git
|
||||
pkgver=1.1
|
||||
pkgrel=1
|
||||
pkgdesc="An adblock command using the easylist.txt."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/jun7/wyebadblock"
|
||||
license=('GPL3')
|
||||
depends=('glib2')
|
||||
conflicts=('wyebadblock-git')
|
||||
makedepends=('git')
|
||||
_branch=master
|
||||
source=("git://github.com/jun7/wyebadblock.git#branch=$_branch")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver(){
|
||||
cd "$srcdir/wyebadblock"
|
||||
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/wyebadblock"
|
||||
git pull --rebase origin $_branch
|
||||
make clean
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/wyebadblock"
|
||||
DEBUG=0
|
||||
make wyebab
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/wyebadblock"
|
||||
install -Dm755 wyebab "$pkgdir/usr/bin/wyebab"
|
||||
}
|
Loading…
Reference in New Issue
Block a user