|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
# Maintainer: Cole Deck <cd109876@gmail.com>
|
|
|
|
|
pkgname=bedrocklinux-installer-git
|
|
|
|
|
dirname=bedrocklinux-userland
|
|
|
|
|
pkgver=0.7.2
|
|
|
|
|
_dirname=bedrocklinux-userland
|
|
|
|
|
pkgver=0.7
|
|
|
|
|
pkgrel=1
|
|
|
|
|
pkgdesc="Bedrock Linux hijack/update script"
|
|
|
|
|
arch=('x86_64' 'armv7h' 'aarch64')
|
|
|
|
@ -14,13 +14,18 @@ install=bedrocklinux-installer-git.install
|
|
|
|
|
makedepends=('make' 'gcc' 'git' 'autoconf' 'pkg-config' 'meson' 'ninja' 'fakeroot' 'gzip' 'libtool')
|
|
|
|
|
sha1sums=('SKIP')
|
|
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
|
cd "${srcdir}/${_dirname}"
|
|
|
|
|
echo $(head -n 1 ReleaseNotes.md | cut -c2-7)
|
|
|
|
|
}
|
|
|
|
|
build() {
|
|
|
|
|
cd "${srcdir}/${dirname}"
|
|
|
|
|
cd "${srcdir}/${_dirname}"
|
|
|
|
|
git checkout 0.7
|
|
|
|
|
make SKIPSIGN=true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
cd "${srcdir}/${dirname}"
|
|
|
|
|
cd "${srcdir}/${_dirname}"
|
|
|
|
|
#make DESTDIR="$pkgdir/" install
|
|
|
|
|
install -D -m755 bedrock-linux-${pkgver}-$(uname -m).sh "${pkgdir}/usr/bin/bedrock-linux.sh"
|
|
|
|
|
install -D -m755 "bedrock-linux-$(head -n 1 ReleaseNotes.md | cut -c3-7)-$(uname -m).sh" "${pkgdir}/usr/bin/bedrock-linux.sh"
|
|
|
|
|
}
|