aboutsummaryrefslogtreecommitdiffstats
path: root/main/command-not-found/APKBUILD
blob: 137947fdc51f221142a0725ee0e3c1cc5f2af4d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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"
source="command-not-found-$pkgver.tar.gz::https://github.com/kaniini/command-not-found/archive/v$pkgver/command-not-found-$pkgver.tar.gz"
options="!check"  # no testsuite

package() {
	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"