new: test/just-etc-shell
This commit is contained in:
28
test/just-etc-shell-1.0.PKGBUILD
Normal file
28
test/just-etc-shell-1.0.PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user