# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: André Klitzing <aklitzing@gmail.com>

pkgname=arch-install-scripts
pkgver=17
pkgrel=0
pkgdesc='Scripts to aid in installing Arch Linux'
arch=noarch
url='https://projects.archlinux.org/arch-install-scripts.git'
license='GPL'
depends='bash coreutils pacman util-linux'
makedepends='m4'
source="http://ftp.acc.umu.se/mirror/archlinux/other/arch-install-scripts/arch-install-scripts-$pkgver.tar.gz"

build() {
  make -C "$srcdir"/$pkgname-$pkgver || return 1
}

check() {
  make -C "$srcdir"/$pkgname-$pkgver check || return 1
}

package() {
  make -C "$srcdir"/$pkgname-$pkgver PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}

md5sums="5d230b9b53c2374445d220f439db3471  arch-install-scripts-17.tar.gz"
sha256sums="e42da8538e2c4c236fb5505c18650c592c37d9076c9178270abef5d0283f2ea7  arch-install-scripts-17.tar.gz"
sha512sums="44f8e0dac5e56c50215328c5948f34fc8455d3359bd8c642481fc22694f94cc54f760aaeff3acd006f8c427534977e847aff6d9cebb8f58c8559bf3cc4d9e2a5  arch-install-scripts-17.tar.gz"
