summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd1f3f98823c90555ac066251520dad269b9026a (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: tarball <bootctl@gmail.com>

pkgname=wcd
pkgver=6.0.5
pkgrel=1
pkgdesc='A command-line program to change directory fast'
url='https://waterlan.home.xs4all.nl/wcd.html'
arch=(x86_64 aarch64 armv7h)
license=(GPL2)
depends=(glibc ncurses)

source=(
  https://waterlan.home.xs4all.nl/wcd/wcd-$pkgver.tar.gz{,.asc}
  wcd.sh
)
validpgpkeys=(
  'F8F1BEA490496A09CCA328CC38C1F572B12725BE' # Erwin Waterlander (Foute boel) <waterlan@xs4all.nl>
)
sha256sums=('f2970e01a52886d330604490fdbedd7373faff0910ff2e14889435677f563763'
  'SKIP'
  '59b19ccded26d9ba356b5e8c435faa6f300d9f36aef1436bb25e2311195aeeed')

build() {
  cd wcd-$pkgver/src
  make
}

package() {
  install -Dm755 wcd.sh "$pkgdir"/etc/profile.d/wcd.sh
  cd wcd-$pkgver/src
  make prefix="$pkgdir/usr" install
}