summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c6a7e1279f5a8bcafb96facfd4bc88aeb795148 (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
27
28
29
30
31
32
# Maintainer: Connor Etherington <connor@concise.cc>
# ---
pkgname=nav
pkgver=1.3
pkgrel=1
pkgdesc="A means of quick navigation through directories in the CLI"
arch=(any)
url="https://gitlab.com/a4to/${pkgname}"
license=('MIT')
depends=(dialog fzf)
source=(
  "https://software.concise.cc/x86_64/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.xz"
)
sha512sums=(
  '6ac4ad1059ab6e0bacb4fd2d2f15979ca40bcd49f5715a4804c9bfefbb641ffbccd0682cd8732e4b3c911846a4878870c0a1919783953f76d0b10c3b15550a68'
)
md5sums=(
  'f72e4fc28024db98bfddeb66bc402af3'
)
validpgpkeys=(
  '81BACEEBC3EA26E127166E4A819BB92A9A48160E'
)

package() {

  cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" ||
  cd "$srcdir/${pkgname}"

  install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}"

}