summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eaa4c9015854506371ecd98ae8706d25f48f0003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Miten <admin@m1ten.me>
# Maintainer: Anton Hvornum <anton@hvornum.se>

_name=archinstall
pkgname=archinstall-git
pkgver=2.4.0.dev0
pkgrel=1
pkgdesc="Just another guided/automated Arch Linux installer with a twist"
arch=('any')
url="https://github.com/archlinux/$_name"
license=('GPL3')
depends=('python')
makedepends=('python-setuptools' 'python-sphinx')
provides=('python-archinstall')
conflicts=('python-archinstall')
replaces=('python-archinstall')
source=("git+https://github.com/archlinux/$_name.git")
sha256sums=('SKIP')


build() {
  cd "$_name"

  python setup.py build
  make man -C docs
}

package() {
  cd "$_name"

  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
  install -vDm 644 docs/_build/man/archinstall.1 -t "${pkgdir}/usr/share/man/man1/"
}