mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
37 lines
913 B
Bash
37 lines
913 B
Bash
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
_pkgname=installer
|
|
_reponame=arch
|
|
pkgname="de-p1st-$_pkgname"
|
|
pkgver=0.0.3
|
|
pkgrel=1
|
|
pkgdesc="Bash script to install Arch Linux"
|
|
arch=('any')
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
license=('MIT')
|
|
groups=()
|
|
depends=('dialog')
|
|
makedepends=('git')
|
|
optdepends=()
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
changelog=
|
|
source=("git+${url}.git")
|
|
noextract=()
|
|
sha256sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
install -Dm0544 de-p1st-installer.sh "$pkgdir"/usr/bin/"${pkgname}"
|
|
|
|
install -Dm0644 lib/block-device.sh "$pkgdir"/usr/lib/"${pkgname}"/block-device.sh
|
|
install -Dm0644 lib/user-input.sh "$pkgdir"/usr/lib/"${pkgname}"/user-input.sh
|
|
install -Dm0644 lib/util.sh "$pkgdir"/usr/lib/"${pkgname}"/util.sh
|
|
|
|
install -Dm0644 -o0 installer.cfg "$pkgdir"/etc/"${pkgname}"/installer.cfg
|
|
}
|