Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 1.05 KB
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=1
pkgname=archstrike-installer
pkgver=2.2.0
pkgrel=3
arch=('any')
pkgdesc="Full ArchStike installer for the ArchStrike live environment"
url="https://github.com/ArchStrike/archstrike-installer"
license=('MIT')
depends=('python2' 'arch-install-scripts' 'gptfdisk' 'util-linux' 'lvm2' 'cryptsetup' 'mkinitcpio' 'wpa_supplicant')
source=("${url}/archive/${pkgver}.tar.gz")
sha512sums=('56a4aea6b58607498071c162cd3f7cf08146ff9e79c3f2ade9b05a490d4d381324127397baccc4e8289ea851834b73f281ae8a141365bcf5cb7c182663dfd0ac')
package() {
cd "${pkgname}-${pkgver}" || exit
install -dm755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
cp -a --no-preserve=ownership ./* "${pkgdir}/usr/share/${pkgname}"
cat > "${pkgdir}/usr/bin/${pkgname}" <<EOF
#!/usr/bin/env bash
cd "/usr/share/${pkgname}"
python2 as-installer.py "\$@"
EOF
chmod 755 "${pkgdir}/usr/bin/${pkgname}"
}
You can’t perform that action at this time.