mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
15f2bee6b4
closes #1933
89 lines
4.9 KiB
Bash
89 lines
4.9 KiB
Bash
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patches to fix issues with how we use the tools
|
|
# ALARM: Maxim Baz <archlinux at maximbaz dot com>
|
|
# - add ARM-specific helpers to build in clean chroot with recommended flags
|
|
|
|
pkgname=devtools-alarm
|
|
_pkgname=devtools
|
|
pkgver=20220621
|
|
pkgrel=2
|
|
pkgdesc='Tools for Arch Linux ARM package maintainers'
|
|
arch=('any')
|
|
license=('GPL')
|
|
url='https://gitlab.archlinux.org/archlinux/devtools'
|
|
conflicts=('devtools')
|
|
provides=('devtools')
|
|
depends=('bash' 'openssh' 'subversion' 'rsync' 'arch-install-scripts'
|
|
'git' 'bzr' 'mercurial' 'diffutils' 'util-linux' 'awk')
|
|
makedepends=('asciidoc')
|
|
optdepends=('btrfs-progs: btrfs support')
|
|
source=(${url}/uploads/8217baae0afcdb540bde9f5b030f05a9/devtools-${pkgver}.tar.gz
|
|
${url}/uploads/8570458d06b07d5a3ff8d30a1fc392d4/devtools-${pkgver}.tar.gz.sig
|
|
'0001-makechrootpkg-cache-dir.patch'
|
|
'0002-arch-nspawn-keep-mirrorlist.patch'
|
|
'0003-makechrootpkg-distcc.patch'
|
|
'0004-arch-nspawn-arm-fix.patch'
|
|
'0005-makechrootpkg-no-default-logging.patch'
|
|
'0006-archbuild-no-setarch.patch'
|
|
'0007-makechrootpkg-don-t-delete-MAKEFLAGS-and-PACKAGER.patch'
|
|
'0008-makechrootpkg-gotmpdir.patch'
|
|
'0009-arm-helpers.patch')
|
|
validpgpkeys=(
|
|
'4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC' # Pierre Schmitz <pierre@archlinux.org>
|
|
'86CFFCA918CF3AF47147588051E8B148A9999C34' # Evangelos Foutras <foutrelis@archlinux.org>
|
|
'8FC15A064950A99DD1BD14DD39E4B877E62EB915' # Sven-Hendrik Haase <svenstaro@archlinux.org>
|
|
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
'B81B051F2D7FC867AAFF35A58DBD63B82072D77A' # Sébastien Luttringer <seblu@archlinux.org>
|
|
'6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD' # Allan McRae (Developer) <allan@archlinux.org>
|
|
'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak <anthraxx@archlinux.org>
|
|
)
|
|
sha256sums=('0938d41b4bc469e62d86d2a287612a090640f6eebde92137b8bd7727b89e95dd'
|
|
'SKIP'
|
|
'71ce5686b8dece2a181561dc32bb981c6b7d1a8d5e4c7884785de0db2f844cd4'
|
|
'd835956292340e5283eb4f0f0634964b0445449a138ea9d377221aa1c8575a74'
|
|
'ca64ec0b697f7a0359c2534559e8a5b3e6c4a7cb3020835a340238086029ee3f'
|
|
'1fdf97a84172a793c2d1c7e649d1c0e14ea3381fb91804bb4b74b3b5012c580f'
|
|
'09e7fa4a0d15a1006c962ee9e4ce5ebb0c296944ab416c18f6e19f237af8960e'
|
|
'302a65bc27341b5ca3996763936ed85ef4335e6cee696ffae8c9796a44a7465a'
|
|
'411c0f84b3cfbec4e86782c7ef8d990770a98b344fda1c5e2bc16add54e0482b'
|
|
'e6d12573d7d66b0d64ff2975adde7ffc1b3cdf8e7851444dd2235b60ebe994ae'
|
|
'2e15998f10abe77cfe62893ebcf637f13ab1cf21ac9b51254c3fdb446fe69078')
|
|
b2sums=('007f62b6cb3f06904fcafec4869a43136643bd364a7f0f314c792c08fbdafafaf8a268f8a372f78402deaa1f87bfc3f2fc7099f78742c6776d4ac49fe4884d58'
|
|
'SKIP'
|
|
'dd0f62be73c262002cf3fa34caea3c88709b8deb85a2bf7c658d1cd63d51eb618fc5b03a4ef420876ac77660753dc69549dead1fdcfea71728775191f2e80ed9'
|
|
'dfc5e501f4b61229daa071184bb8846c08ac17b226f134cd26c3a90610ab3419042c5259e0762603243f424d17c97133f05d99c92784327317d50b60cbb2a24b'
|
|
'f07da6a320c5d8adf55062f99c91c501fb36ed6bc4637a6f759958aa9504865ac69ea35508f7c9868d6d3a28622b409514d4f0e16b2b23127ff21d1304121f51'
|
|
'1d4b84f4e28d9a8081b600c461404acd1b0f2463dcff850a8720ad52678f2917a14e2cae6431dd3ce60639baa2c609943466541fa5bd45a3ef3470dbf99d7690'
|
|
'0cadc51cdc3a08474d8fabbd7c5b15502903ff07902363a18f71b81d6ed58c1a4fd7d3f2e0f0d12b0a55d4c2011352cb6a7460a3406d1e13173c34a6b3928ada'
|
|
'f5a81fd9e2f67d7aa66c9f1365af102039a8fdd502ccd22b5570a90672c37795d0b2aa64cd1d3d09a70943f003a929c6211394f680002b164d71e33a884204fc'
|
|
'c25c589c1f6584a08c30f875947fc5a1230c072ff5a87db0b5356a293a0ad7f374903a0a75ec92fd18549a917931cee7aff445b4f8f8dfc86309c1dfa0bdefa1'
|
|
'03b6e0b136b91ec60b9c3f22b54aa66475d4c21f047bf33db2a0703ee0f200c04f3a4ce60af1edba8292d04f3c31d5aaac1357bf644236b686f09f207535e90c'
|
|
'c0b6b15469ac04fcd1a1e6040c013934284773508e43db8bffb5395de0c3885a76f922e6821474bbfcd0ad3df972e6558824004487ca321d11fd502636faab92')
|
|
|
|
prepare() {
|
|
cd "${_pkgname}-${pkgver}"
|
|
patch -p1 -i ../0001-makechrootpkg-cache-dir.patch
|
|
patch -p1 -i ../0002-arch-nspawn-keep-mirrorlist.patch
|
|
patch -p1 -i ../0003-makechrootpkg-distcc.patch
|
|
patch -p1 -i ../0004-arch-nspawn-arm-fix.patch
|
|
patch -p1 -i ../0005-makechrootpkg-no-default-logging.patch
|
|
patch -p1 -i ../0006-archbuild-no-setarch.patch
|
|
patch -p1 -i ../0007-makechrootpkg-don-t-delete-MAKEFLAGS-and-PACKAGER.patch
|
|
patch -p1 -i ../0008-makechrootpkg-gotmpdir.patch
|
|
patch -p1 -i ../0009-arm-helpers.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${_pkgname}-${pkgver}
|
|
make BUILDTOOLVER="${pkgver}-${pkgrel}-${arch}" PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd ${_pkgname}-${pkgver}
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|