23 lines
775 B
Bash
23 lines
775 B
Bash
#!/bin/sh
|
|
pkg_ver="todo"
|
|
|
|
pkg_install() {
|
|
git clone https://github.com/Sweets/hummingbird hummingbird
|
|
cd hummingbird
|
|
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/fs
|
|
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/interlude
|
|
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/shutdown
|
|
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/tty
|
|
make
|
|
make install DESTDIR="$1"
|
|
|
|
mv fs $1/usr/bin/hummingbird/
|
|
mv interlude $1/usr/bin/hummingbird/
|
|
mv shutdown $1/usr/bin/hummingbird/
|
|
mv tty $1/usr/bin/hummingbird/
|
|
chmod +x $1/usr/bin/hummingbird/*
|
|
}
|
|
|
|
pkg_uninstall() {
|
|
# TODO
|
|
}
|