# $Id$
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

# repo: releng

pkgname=devtools32
pkgver=20200223
pkgrel=1
pkgdesc='Tools for Arch Linux package maintainers, also for 32 bit'
arch=('any')
license=('GPL')
url='https://git.archlinux32.org/archlinux32/devtools32/'
depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts'
	'pacman-mirrorlist32' 'archlinux32-keyring' 'git' 'mercurial' 'bzr')
makedepends=('asciidoc')
conflicts=('devtools')
source=(
  "https://sources.archlinux32.org/sources/${pkgname}-v${pkgver}.tar.gz"{,.sig}
)
sha512sums=('aa67b5f4598317d94104f9d1d225954ccae4c9bdc11c0c0b4b08abff8aed1de8d03c97c55e5ba181220d60b4561f21f7d9e28f018e46ce7ee5462aeb33f5e515'
            'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')

build() {
	cd "${pkgname}-v${pkgver}"
	make PREFIX=/usr
}

package() {
	cd "${pkgname}-v${pkgver}"
	make PREFIX=/usr DESTDIR=${pkgdir} install
}