From db4659a3eb32efefc14a073fc9049d2cf3a551d6 Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Mon, 25 Jan 2021 12:06:24 -0300 Subject: [PATCH] Move PKGBUILD dir to PKGBUILDs dir and create a new PKGBUILD for git Create a new PKGBUILD that builds from the current git directory for ease of testing. Moved the PKGBUILD directory to PKGBUILDs. --- PKGBUILD | 44 +++++++++++++++++++ .../archinstall-bin/PKGBUILD | 0 {PKGBUILD => PKGBUILDs}/archinstall/PKGBUILD | 0 .../python-archinstall/PKGBUILD | 0 4 files changed, 44 insertions(+) create mode 100644 PKGBUILD rename {PKGBUILD => PKGBUILDs}/archinstall-bin/PKGBUILD (100%) rename {PKGBUILD => PKGBUILDs}/archinstall/PKGBUILD (100%) rename {PKGBUILD => PKGBUILDs}/python-archinstall/PKGBUILD (100%) diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..7e073666 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Anton Hvornum +# Contributor: Giancarlo Razzolini +# Contributor: demostanis worlds + +pkgbase=archinstall-git +pkgname=('archinstall-git' 'python-archinstall-git') +pkgver=$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g') +pkgrel=1 +pkgdesc="Just another guided/automated Arch Linux installer with a twist" +arch=('any') +url="https://github.com/Torxed/archinstall" +license=('GPL') +depends=('python') +makedepends=('python-setuptools') + +build() { + cd "$startdir" + + python setup.py build +} + + +package_archinstall-git() { + depends=('python-archinstall-git') + conflicts=('archinstall') + cd "$startdir" + + mkdir -p "${pkgdir}/usr/bin" + + # Install a guided profile + cat - > "${pkgdir}/usr/bin/archinstall" <