summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 912b813d41bc741a10c8894871bb14eb1bc10024 (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.2
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://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.xz"
)
sha512sums=(
  '58781d7e55e0a8ce82d607766b420ea5f8f5fead5524c114dcd795a53688697f5f437e2e15aaab197085e963d379b79c20780a25ba9ea7ea93401dfaccafc8da'
)
md5sums=(
  'aea6ef4d04003f65e583cc4a4cb66dcd'
)
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}"

}