summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c5eae0f1b2cc43a9d64b065d0eec5da17ebe5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer Filip Parag <aur@filiparag.com>

pkgname=wikiman
pkgver=2.1
pkgrel=1
pkgdesc="Offline search engine for ArchWiki and manual pages combined"
arch=('any')
url="https://github.com/filiparag/wikiman"
license=('MIT')
depends=('man' 'arch-wiki-docs' 'fzf' 'ripgrep' 'awk' 'xdg-utils')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('e4e47389dd89a6138e1a18bf2fb6d6506217c8c2a0a628d14c378162033cdd06')

package() {

  cd "${pkgname}-${pkgver}"
  
  install -Dm 755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"

  install -Dm 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE'

}