Initial commit: 0.7.2 installer
commit
d203116fbe
@ -0,0 +1,26 @@
|
||||
# Maintainer: Cole Deck <cd109876@gmail.com>
|
||||
pkgname=bedrocklinux-installer-git
|
||||
dirname=bedrocklinux-userland
|
||||
pkgver=0.7.2
|
||||
pkgrel=1
|
||||
pkgdesc="Bedrock Linux hijack/update script"
|
||||
arch=('x86_64' 'armv7h' 'aarch64')
|
||||
url="https://github.com/bedrocklinux/bedrocklinux-userland"
|
||||
license=('GPLv2')
|
||||
depends=()
|
||||
source=("git+https://github.com/bedrocklinux/bedrocklinux-userland.git")
|
||||
install=bedrocklinux-installer-git.install
|
||||
|
||||
makedepends=('make' 'gcc' 'git' 'autoconf' 'pkg-config' 'meson' 'ninja' 'fakeroot' 'gzip' 'libtool')
|
||||
sha1sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${dirname}"
|
||||
make SKIPSIGN=true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${dirname}"
|
||||
#make DESTDIR="$pkgdir/" install
|
||||
install -D -m755 bedrock-linux-${pkgver}-$(uname -m).sh "${pkgdir}/usr/bin/bedrock-linux.sh"
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
post_install() {
|
||||
echo "You can insatll Bedrock Linux by running 'bedrock-linux.sh --hijack' as root. This action cannot be reversed!"
|
||||
}
|
||||
post_upgrade() {
|
||||
echo "You can update Bedrock Linux by running 'bedrock-linux.sh --update' as root."
|
||||
}
|
||||
post_remove() {
|
||||
echo "You are only removing the installer, Bedrock Linux itself cannot be uninstalled!"
|
||||
}
|
Loading…
Reference in New Issue