31 lines
732 B
Plaintext
31 lines
732 B
Plaintext
# Template file for 'surf' git version
|
|
pkgname=surf-git
|
|
version=2.1
|
|
revision=3
|
|
wrksrc="surf"
|
|
build_style=gnu-makefile
|
|
hostmakedepends="git pkg-config"
|
|
makedepends="webkit2gtk-devel gcr-devel"
|
|
depends="xprop dmenu"
|
|
conflicts="surf>=0"
|
|
short_desc="Simple web browser based on WebKit/GTK+"
|
|
maintainer="Tuxliban Torvalds <tenshalito@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://surf.suckless.org"
|
|
|
|
# Obtener versión más reciente en upstream
|
|
do_fetch(){
|
|
git clone git://git.suckless.org/surf ${wrksrc} --depth 1
|
|
cd ${wrksrc}
|
|
git checkout surf-webkit2
|
|
}
|
|
|
|
pre_build() {
|
|
# Si existe una configuración custom del usuario se usará
|
|
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|