You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
911 B
Bash

# Maintainer: Cole Deck <cd109876@gmail.com>
pkgname=bedrocklinux-installer-git
5 years ago
_dirname=bedrocklinux-userland
pkgver=0.7
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=('rsync' 'wget' 'make' 'gcc' 'git' 'autoconf' 'pkg-config' 'meson' 'ninja' 'fakeroot' 'gzip' 'libtool')
sha1sums=('SKIP')
5 years ago
pkgver() {
cd "${srcdir}/${_dirname}"
echo $(head -n 1 ReleaseNotes.md | cut -c2-7)
}
build() {
5 years ago
cd "${srcdir}/${_dirname}"
make SKIPSIGN=true
}
package() {
5 years ago
cd "${srcdir}/${_dirname}"
#make DESTDIR="$pkgdir/" install
5 years ago
install -D -m755 "bedrock-linux-$(head -n 1 ReleaseNotes.md | cut -c3-7)-$(uname -m).sh" "${pkgdir}/usr/bin/bedrock-linux.sh"
}