aboutsummaryrefslogtreecommitdiffstats
path: root/testing/z/APKBUILD
blob: 400501a3b1e7d368674e3ceac5208ee7eda7eb90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Anirudh Oppiliappan <x@icyphox.sh>
# Maintainer: Anirudh Oppiliappan <x@icyphox.sh>
pkgname="z"
pkgver="1.11"
pkgrel=0
pkgdesc="Tracks your most used directories, based on 'frecency'"
url="https://github.com/rupa/z"
arch="noarch"
license="WTFPL"
install="$pkgname.post-install"
options="!check" # No testsuite
source="z-$pkgver.tar.gz::https://github.com/rupa/z/archive/v$pkgver.tar.gz"
subpackages="$pkgname-doc"

package() {
	install -Dm 644 z.sh "$pkgdir"/usr/share/$pkgname/z.sh
	sed -i z.1 -e 's:/path/to/z.sh:/usr/share/"$pkgname"/z.sh:g'
	install -Dm 644 z.1 "$pkgdir"/usr/share/man/man1/z.1
}

sha512sums="e8463f8fe2781ff12814e47b1764ddc46875a3a01c0499cb174473df16ba28ea16c2577f7ec27a088c5bd98775ac29f81190b3131d4a953315f01be4e2d548c5  z-1.11.tar.gz"