1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Semyon Maryasin <marsoft@ya.ru>
7 pkgdesc="Tracks your most used directories, based on 'frecency'"
9 url="https://github.com/rupa/z/"
12 source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/rupa/$pkgname/tar.gz/v$pkgver")
13 sha256sums=('873761c2eaf283c526b87ef272c8c35f70e94ea079fbbc985ba32070638ff963')
17 cd "$srcdir/$pkgname-$pkgver"
19 # update path in manpage
20 sed -i z.1 -e "s:/path/to/z.sh:/usr/share/$pkgname/z.sh:g"
21 install -Dm 644 z.1 "$pkgdir/usr/share/man/man1/z.1"
23 install -Dm 644 z.sh "$pkgdir/usr/share/$pkgname/z.sh"