pkgname="just-etc-shell"
pkgver=1.0
pkgdesc="just test write an item into /etc/shells"
homepage=""
license=("GPL")
sources=()
urls=()
md5sums=()

src_prepare() {
  :
}

src_build() {
  touch testshell
}

src_install() {
  install -Dvm755 testshell ${pkgdir}/bin/testshell
}

src_postinstall() {
  leaf_add_shell /bin/testshell
}

src_postremove() {
  leaf_remove_shell /bin/testshell
}
