21 lines
604 B
Bash
21 lines
604 B
Bash
pkgname='blend-inst-git'
|
|
pkgver=r3.76d89ef
|
|
pkgrel=1
|
|
pkgdesc='blendOS Installer Framework'
|
|
arch=(any)
|
|
depends=('squashfs-tools' 'arch-install-scripts' 'util-linux' 'parted')
|
|
provides=('blend-inst')
|
|
conflicts=('blend-inst')
|
|
source=('git-inst::git+https://git.askiiart.net/askiiart-blendos/blend-inst.git')
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "${srcdir}/git-inst"
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/git-inst"
|
|
install -Dm755 blend-inst -t "${pkgdir}/usr/bin/"
|
|
install -Dm755 blend-postinst -t "${pkgdir}/usr/bin/"
|
|
}
|