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

# repo: releng

pkgname=devtools32
pkgver=20221208
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=('c68a57ec7dbfa973f5b8f4b64d741ac17b04b1c2533786d1ce56bf4534f71153a24615e26895978fbcb3943e5477d891136d18fecef281a940b9079b6b5bd40a'
            'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')

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

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