summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42333009de9add6a16157d06b7824b7749459286 (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
# Maintainer: nihilowy <nihilowy at gmail dot com>

pkgname=surfer-git
pkgver=r300.e0b13a1
pkgrel=1
epoch=1
pkgdesc="simple webkit2gtk browser"
arch=('i686' 'x86_64')
url="https://github.com/nihilowy/surfer"
license=('GPL')
makedepends=('git')
depends=('webkit2gtk')
source=("git+https://github.com/nihilowy/surfer.git")
sha256sums=('SKIP')

_gitname=surfer

pkgver() {
	cd "$_gitname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$_gitname"
	make
}

package() {
	cd "$_gitname"
	make DESTDIR="$pkgdir/" install
}