OCaml 4.13.1 rebuild
[arch-packages.git] / archinstall / trunk / PKGBUILD
blob63d06a7ffd755ee6020596808a8d9982592d9136
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.0
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=('9a2cd808e90ec39df328b2cfec4f499201bc3962cf743002c0ddd941811e943e1b04edc06e4b874dac8edbec308e44dfce857d388bcc43a1bf05030285daf0ae'
20             'SKIP')
21 b2sums=('748bfabc9e51fe18ad23be76d6f7c4f005e9fa35ef53f3f21a73ae934f290b47309675bc3118d0b3014a8068c756054b6312817b84ff9d62ec377267cee496a1'
22         'SKIP')
23 validpgpkeys=('256F73CEEFC6705C6BBAB20E5FBBB32941E3740A') # Anton Hvornum (Torxed) <anton@hvornum.se>
26 build() {
27   cd "$pkgname-$pkgver"
28   python setup.py build
29   make man -C docs
32 package() {
33   cd "$pkgname-$pkgver"
35   python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
36   install -vDm 644 docs/_build/man/archinstall.1 -t "${pkgdir}/usr/share/man/man1/"