mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
18 lines
821 B
Text
18 lines
821 B
Text
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
|
|
pkgname=command-not-found
|
|
pkgver=0.3
|
|
pkgrel=1
|
|
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"
|