This commit is contained in:
jun7 2017-07-18 14:57:18 +09:00
parent 4cce9fd096
commit 73710e2b74
2 changed files with 7 additions and 8 deletions

View File

@ -1,16 +1,15 @@
# Maintainer: jun7 <jun7@hush.com> # Maintainer: jun7 <jun7@hush.com>
pkgname=wyebadblock-git
pkgname=wyebadblock
pkgver=1.1 pkgver=1.1
pkgrel=1 pkgrel=1
branch=master
pkgdesc="A adblock extension for wyeb, also webkit2gtk browsers may be." pkgdesc="A adblock extension for wyeb, also webkit2gtk browsers may be."
arch=('x86_64') arch=('x86_64')
license=('GPL')
url="https://github.com/jun7/wyebadblock" url="https://github.com/jun7/wyebadblock"
license=('GPL3')
depends=('webkit2gtk') depends=('webkit2gtk')
makedepends=('git') makedepends=('git')
source=("git://github.com/jun7/wyebadblock.git#branch=$branch") _branch=master
source=("git://github.com/jun7/wyebadblock.git#branch=$_branch")
md5sums=('SKIP') md5sums=('SKIP')
pkgver(){ pkgver(){
@ -20,7 +19,7 @@ pkgver(){
prepare() { prepare() {
cd "$srcdir/wyebadblock" cd "$srcdir/wyebadblock"
git pull --rebase origin $branch git pull --rebase origin $_branch
} }
build() { build() {
@ -30,5 +29,5 @@ build() {
package() { package() {
cd "$srcdir/wyebadblock" cd "$srcdir/wyebadblock"
install -Dm755 adblock.so "$pkgdir/usr/share/wyebrowser/adblock.so" install -Dm755 adblock.so "$pkgdir/usr/lib/wyebrowser/adblock.so"
} }

View File

@ -1,7 +1,7 @@
#CFLAGS += -c -Wall -Wno-deprecated-declarations #CFLAGS += -c -Wall -Wno-deprecated-declarations
CFLAGS += -Wno-deprecated-declarations CFLAGS += -Wno-deprecated-declarations
#LDFLAGS= #LDFLAGS=
EXTENSION_DIR=$(DESTDIR)/usr/share/wyebrowser EXTENSION_DIR=$(DESTDIR)/usr/lib/wyebrowser
DAPPNAME=-DAPPNAME='"wyebadblock"' DAPPNAME=-DAPPNAME='"wyebadblock"'
all: adblock.so all: adblock.so