summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3385d7e1eaf0ea91b914a582deff235d9a250e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Black_Codec <orso.f.regna@gmail.com>

pkgname=sswb-git
_pkgname=sswb
pkgver=r17.ad20b14
pkgrel=1
pkgdesc="Stupid simple Web Browser - a simply gtk webkit browser"
arch=('any')
url="https://github.com/BlackCodec/sswb"
license=('GPL')
depends=('webkit2gtk' 'python-gobject')
source=("git+https://github.com/BlackCodec/$_pkgname.git")
md5sums=('SKIP')

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

package() {
   install -Dm 755 "$srcdir/$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}