-
Notifications
You must be signed in to change notification settings - Fork 6
/
PKGBUILD
38 lines (34 loc) · 858 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: jun7 <jun7@hush.com>
pkgname=wyeb-git
pkgver=1.1
pkgrel=3
pkgdesc="A vim-like webkit2gtk browser"
arch=('x86_64')
url="http://wyeb.org/"
license=('GPL3')
depends=('webkit2gtk' 'discount' 'perl-file-mimeinfo')
makedepends=('git')
_branch=master
source=("git+https://github.com/jun7/wyeb.git#branch=$_branch")
md5sums=('SKIP')
pkgver(){
cd "$srcdir/wyeb"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/wyeb"
git pull --rebase origin $_branch
make clean
}
build() {
cd "$srcdir/wyeb"
DEBUG=0
make
}
package() {
cd "$srcdir/wyeb"
install -Dm755 wyeb "$pkgdir/usr/bin/wyeb"
install -Dm755 ext.so "$pkgdir/usr/lib/wyebrowser/ext.so"
install -Dm644 wyeb.png "$pkgdir/usr/share/pixmaps/wyeb.png"
install -Dm644 wyeb.desktop "$pkgdir/usr/share/applications/wyeb.desktop"
}