archrelease: copy trunk to extra-x86_64
[arch-packages.git] / archinstall / trunk / PKGBUILD
blob46a8fab70f00fcc3f17095bda0a0c80f6dee74d2
1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 # Contributor: Anton Hvornum <anton@hvornum.se>
3 # Contributor: demostanis worlds <demostanis@protonmail.com>
5 pkgname=archinstall
6 pkgver=2.3.2
7 pkgrel=2
8 pkgdesc="Just another guided/automated Arch Linux installer with a twist"
9 arch=('any')
10 url="https://github.com/archlinux/archinstall"
11 license=('GPL3')
12 depends=('python')
13 makedepends=('python-setuptools' 'python-sphinx')
14 provides=('python-archinstall')
15 conflicts=('python-archinstall')
16 replaces=('python-archinstall')
17 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
18         "$pkgname-$pkgver.tar.gz.sig::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.sig")
19 sha512sums=('47313863846ed8d45d5a38c256ea055f1fdc3307ebf7ebf61fef6d3f4d0c1e989a377d47eff0975e1a56158819fca95538def5d7620222b27d951a981845d95d'
20             'SKIP')
21 b2sums=('145343e3e827e239f45f7ce3a1255d6d6ece0854d31d0bca8a81a914d50d13c27a7bd8a31be51f659d2c0ce213b0ae56beff244ccea073b15632be44f5c0b70f'
22         'SKIP')
23 validpgpkeys=('256F73CEEFC6705C6BBAB20E5FBBB32941E3740A') # Anton Hvornum (Torxed) <anton@hvornum.se>
26 build() {
27   cd "$pkgname-$pkgver"
28   python setup.py build
29   PYTHONDONTWRITEBYTECODE=1 make man -C docs
32 package() {
33   cd "$pkgname-$pkgver"
35   python setup.py install --root="${pkgdir}" --optimize=1
36   install -vDm 644 docs/_build/man/archinstall.1 -t "${pkgdir}/usr/share/man/man1/"