aboutsummaryrefslogtreecommitdiffstats
path: root/main/command-not-found/APKBUILD
blob: 3102a9633d27bff9832d7633138b207a0024ed34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=command-not-found
pkgver=0.3
pkgrel=0
pkgdesc="friendly command not found handling"
url="https://github.com/kaniini/command-not-found"
arch="noarch"
license="MIT"
depends=""
makedepends=""
install=""
subpackages=""    # eventually $pkgname-zsh and others
source="command-not-found-$pkgver.tar.gz::https://github.com/kaniini/command-not-found/archive/v$pkgver/command-not-found-$pkgver.tar.gz"
builddir="$srcdir/command-not-found-$pkgver"
options="!check"  # no testsuite

package() {
	cd "$builddir"
	install -d -D -m755 "$pkgdir"/usr/libexec "$pkgdir"/etc/profile.d/
	install -m755 command-not-found.sh "$pkgdir"/usr/libexec/command-not-found
	install -m755 profiles/command-not-found.ash "$pkgdir"/etc/profile.d/command-not-found.sh
}

sha512sums="6e171adb8d559255ab8c5d09df670f9c8403f5e231c550d4dfc1f6e29fc8beee83a3db43eb63b5fb62cb52ed83d375a7b2c10e59383668251068e088b123b1b8  command-not-found-0.3.tar.gz"