summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2416c85660e23002cb30ad48f5e2e0a0ad3aad9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Castor <whoisyoges@castorisdead.xyz>
pkgname=local-arch-wiki
pkgver=2.0
pkgrel=0
pkgdesc="A convenient wrapper for arch-wiki-docs, enabling effortless searching and access to the offline Arch Wiki."
arch=('any')
url="https://github.com/whoisyoges/local-arch-wiki"
license=('GPL2')
depends=('arch-wiki-docs' 'bash' 'sed')
optdepends=('dmenu: tofi, dmenu, rofi or any other menu.'
            'firefox: Firefox or any other web browser.'
            'libnotify: For notification support.')
makedepends=('git')
source=("${pkgname}::git+${url}")
sha256sums=('SKIP')

package() {
  cd "${srcdir}/$pkgname"
  chmod +x local-arch-wiki
  install -Dm755 local-arch-wiki "${pkgdir}/usr/local/bin/local-arch-wiki"
}