summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d6cf62b28bc8e7d143181f25f1492b2924c8ef7 (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
# Maintainer: KirottuM <kirottualt@gmail.com>

pkgname=arch-wiki-dmenu-git
_pkgname=arch-wiki-dmenu
pkgver=r1.9e43f41
pkgrel=1
pkgdesc="Search ArchWiki offline docs with dmenu"
url="https://github.com/Kirottu/arch-wiki-dmenu"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('git')
provides=("$_pkgname")
depends=('arch-wiki-docs' 'dmenu' 'surf')
conflicts=("$_pkgname")
source=("git+https://github.com/Kirottu/arch-wiki-dmenu")
sha256sums=('SKIP')

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

package() {
  install -D -Dm755 "$_pkgname"/arch-wiki-dmenu "$pkgdir"/usr/bin/arch-wiki-dmenu
}