From 7f3e83257409979f7f07db0c3d7f824c6e09d0c7 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Thu, 7 Mar 2024 00:10:44 +0000 Subject: [PATCH] main/postmarketos-dev: new aport (MR 5180) This package is meant to encompass what an average developer would want from a postmarketOS image. We plan to provide -dev variants of some postmarketOS images for some devices for use by the Linux mobile developer community. These should include useful tools out of the box and provide a familiar shell and coreutils. Signed-off-by: Caleb Connolly [ci:skip-build]: already built successfully in CI --- main/postmarketos-dev/APKBUILD | 35 +++++++++++++++++++ .../postmarketos-dev.post-deinstall | 5 +++ .../postmarketos-dev.post-install | 6 ++++ 3 files changed, 46 insertions(+) create mode 100644 main/postmarketos-dev/APKBUILD create mode 100644 main/postmarketos-dev/postmarketos-dev.post-deinstall create mode 100644 main/postmarketos-dev/postmarketos-dev.post-install diff --git a/main/postmarketos-dev/APKBUILD b/main/postmarketos-dev/APKBUILD new file mode 100644 index 000000000..d7dcf96fa --- /dev/null +++ b/main/postmarketos-dev/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Caleb Connolly +pkgname=postmarketos-dev +pkgver=1 +pkgrel=0 +pkgdesc="postmarketOS development tools" +url="https://postmarketos.org" +arch="noarch" +license="MIT" +options="!check" +depends=" + htop + coreutils + nano + psutils + iputils + alpine-sdk + findutils + gawk + bash + bash-completion +" +install="$pkgname.post-install $pkgname.post-deinstall" + +package() { + mkdir -p "$pkgdir/etc/skel" + cat > "$pkgdir/etc/skel/.bashrc" < "$pkgdir/etc/skel/.bash_profile" < neovim symlink..." + ln -s /usr/bin/nvim /usr/local/bin/vim +fi