Skip to content
Snippets Groups Projects

main/postmarketos-dev: new aport

Merged Imported Administrator requested to merge craftyguy/pmos-dev into master
All threads resolved!
3 files
+ 46
0
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 35
0
# Maintainer: Caleb Connolly <caleb@postmarketos.org>
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
+3
"
install="$pkgname.post-install $pkgname.post-deinstall"
package() {
mkdir -p "$pkgdir/etc/skel"
cat > "$pkgdir/etc/skel/.bashrc" <<EOF
# Just set a nice prompt
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
EOF
cat > "$pkgdir/etc/skel/.bash_profile" <<EOF
# Source the users bashrc (global one is sourced by /etc/profile.d/00-bashrc.sh)
[[ -f ~/.bashrc ]] && . ~/.bashrc
+3
EOF
}
Loading