blob: 8c21d0ca10107f2ce63756b08326120a2a485feb (
plain)
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
39
40
41
42
43
44
45
46
|
# Maintainer: Manuel Palenzuela <sadshinobi@protonmail.com>
author=Baitinq
pkgname=surf-baitinq-git
_gitname=surf
pkgver=0.r574.2c3581f
pkgrel=1
pkgdesc="a WebKit based browser (Baitinq's version)"
url='https://github.com/Baitinq/surf.git'
arch=('any')
license=('GPL')
depends=('webkit2gtk' 'gcr' 'xorg-xprop')
makedepends=('git')
optdepends=('dmenu: url bar and search'
'tabbed: tab browsing'
'ca-certificates: SSL verification'
'st: default terminal for the download handler'
'curl: default download handler'
'mpv: default video player')
provides=('surf')
# include config.h and any patches you want to have applied here
source=("git://github.com/$author/$_gitname.git")
md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$_gitname"
printf '0.r%s.%s' \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
make
}
package() {
cd "$_gitname"
make PREFIX=/usr DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/usr/share/$pkgname"
cp -r -a --no-preserve=ownership * "$pkgdir/usr/share/$pkgname"
chmod -R 777 "$pkgdir/usr/share/$pkgname"
}
|