From 73710e2b74024e857baee5c61fbdb70799a6f5da Mon Sep 17 00:00:00 2001 From: jun7 Date: Tue, 18 Jul 2017 14:57:18 +0900 Subject: [PATCH] clean up --- PKGBUILD | 13 ++++++------- makefile | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index bbf3e80..00af33a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,15 @@ # Maintainer: jun7 - -pkgname=wyebadblock +pkgname=wyebadblock-git pkgver=1.1 pkgrel=1 -branch=master pkgdesc="A adblock extension for wyeb, also webkit2gtk browsers may be." arch=('x86_64') -license=('GPL') url="https://github.com/jun7/wyebadblock" +license=('GPL3') depends=('webkit2gtk') makedepends=('git') -source=("git://github.com/jun7/wyebadblock.git#branch=$branch") +_branch=master +source=("git://github.com/jun7/wyebadblock.git#branch=$_branch") md5sums=('SKIP') pkgver(){ @@ -20,7 +19,7 @@ pkgver(){ prepare() { cd "$srcdir/wyebadblock" - git pull --rebase origin $branch + git pull --rebase origin $_branch } build() { @@ -30,5 +29,5 @@ build() { package() { cd "$srcdir/wyebadblock" - install -Dm755 adblock.so "$pkgdir/usr/share/wyebrowser/adblock.so" + install -Dm755 adblock.so "$pkgdir/usr/lib/wyebrowser/adblock.so" } diff --git a/makefile b/makefile index fc5cf63..efa416c 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ #CFLAGS += -c -Wall -Wno-deprecated-declarations CFLAGS += -Wno-deprecated-declarations #LDFLAGS= -EXTENSION_DIR=$(DESTDIR)/usr/share/wyebrowser +EXTENSION_DIR=$(DESTDIR)/usr/lib/wyebrowser DAPPNAME=-DAPPNAME='"wyebadblock"' all: adblock.so