Commit 24a47bbe authored by Ariadne Conill's avatar Ariadne Conill

main/command-not-found: new aport

parent 0f39c852
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=command-not-found
pkgver=0.1
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="aeb69e6fc5eaebe8c4f50772cfed0ea669ac5896afa8f734beeb16db844ceecd07a9f81e2a22dcd0024ec5ec437586fa2d8f2e529bb6836b47d5ca11a4bb5dbc command-not-found-0.1.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment