Date: Sunday, September 25, 2022 @ 12:11:03
Author: dvzrv
Revision: 456759
archrelease: copy trunk to community-any
Added:
archinstall/repos/community-any/
archinstall/repos/community-any/PKGBUILD
(from rev 456758, archinstall/trunk/PKGBUILD)
archinstall/repos/community-any/keys/
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: archinstall/repos/community-any/PKGBUILD (from rev 456758,
archinstall/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-09-25 12:11:03 UTC (rev 456759)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <[email protected]>
+# Maintainer: Giancarlo Razzolini <[email protected]>
+# Contributor: Anton Hvornum <[email protected]>
+# Contributor: demostanis worlds <[email protected]>
+
+pkgname=archinstall
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="Just another guided/automated Arch Linux installer with a twist"
+arch=(any)
+url="https://github.com/archlinux/archinstall"
+license=(GPL3)
+depends=(python systemd)
+makedepends=(python-build python-installer python-flit-core python-setuptools
python-sphinx python-wheel)
+provides=(python-archinstall)
+conflicts=(python-archinstall)
+replaces=(python-archinstall)
+source=(
+ $pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz
+
$pkgname-$pkgver.tar.gz.sig::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.sig
+)
+sha512sums=('1916d9fc80e4048ff791a38d4b88bdae798f52fff7dfe1e49a1728321a2f7618b9af31f6664a020969e3a98b4cc85e6da9eaa1dc138e4072b4a749b04049fc0e'
+ 'SKIP')
+b2sums=('a577026c7ab00e7da732aa84c807013befb0141ed1699f0dbe5b6ec1d325092e0f7338ce796a0453fac0c60a28c79423f3cd74a79b4afa8ea4756552c9c36c41'
+ 'SKIP')
+validpgpkeys=('256F73CEEFC6705C6BBAB20E5FBBB32941E3740A') # Anton Hvornum
(Torxed) <[email protected]>
+
+prepare() {
+ cd $pkgname-$pkgver
+ # use real directories for examples and profiles, as symlinks do not work
+ # with flit or setuptools PEP517 backends
+ rm -fv $pkgname/{examples,profiles}
+ mv -v examples profiles $pkgname/
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --no-isolation
+ PYTHONDONTWRITEBYTECODE=1 make man -C docs
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 docs/_build/man/archinstall.1 -t
"$pkgdir/usr/share/man/man1/"
+}