2021-04-28 18:09:45 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=installer
|
|
|
|
_reponame=arch
|
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-06-15 15:20:05 +02:00
|
|
|
pkgver=0.1.11
|
2021-05-14 15:12:23 +02:00
|
|
|
pkgrel=1
|
2021-04-28 18:09:45 +02:00
|
|
|
pkgdesc="Bash script to install Arch Linux"
|
|
|
|
arch=('any')
|
|
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
|
|
license=('MIT')
|
2021-04-29 20:25:30 +02:00
|
|
|
depends=('dialog')
|
2021-04-28 18:09:45 +02:00
|
|
|
makedepends=('git')
|
|
|
|
source=("git+${url}.git")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
|
2021-05-03 16:41:33 +02:00
|
|
|
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
|
|
|
|
|
2021-06-14 20:35:20 +02:00
|
|
|
install -Dm0644 -o0 installer.cfg "$pkgdir"/etc/"${pkgname}"/installer.cfg
|
2021-06-14 19:30:29 +02:00
|
|
|
install -Dm0644 -o0 example-vbox.cfg "$pkgdir"/etc/"${pkgname}"/example-vbox.cfg
|
|
|
|
install -Dm0644 -o0 example-headless-docker.cfg "$pkgdir"/etc/"${pkgname}"/example-headless-docker.cfg
|
2021-04-28 18:09:45 +02:00
|
|
|
}
|