summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e65a87fc02f2a67816527bd94453051886890b6 (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: Andrea Scarpino <andrea@archlinux.org>

pkgname=i3-sensible-browser-git
_pkgname=i3-sensible-browser
pkgver=18.a537351
pkgrel=1
pkgdesc='Launches $BROWSER with fallbacks'
url='https://github.com/ilpianista/i3-sensible-browser'
arch=('any')
license=('GPL')
makedepends=('git')
source=(${_pkgname}::'git+https://github.com/ilpianista/i3-sensible-browser.git')
md5sums=('SKIP')

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

package() {
  cd ${_pkgname}
  make DESTDIR="${pkgdir}" PREFIX=/usr install
}