2013-05-31 18:39:05 +00:00
|
|
|
# $Id: PKGBUILD 182399 2013-04-10 05:34:09Z pierre $
|
2012-04-30 23:50:33 +00:00
|
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2013-05-31 18:39:05 +00:00
|
|
|
# - patches to fix issues with how we use the tools
|
2012-04-30 23:50:33 +00:00
|
|
|
|
|
|
|
pkgname=devtools-alarm
|
2013-05-31 18:39:05 +00:00
|
|
|
_pkgname=devtools
|
2017-12-13 01:42:01 +00:00
|
|
|
pkgver=20171108
|
2018-05-12 17:15:15 +00:00
|
|
|
pkgrel=2
|
2013-07-01 13:56:32 +00:00
|
|
|
pkgdesc='Tools for Arch Linux ARM package maintainers'
|
2012-04-30 23:50:33 +00:00
|
|
|
arch=('any')
|
|
|
|
license=('GPL')
|
2013-05-31 18:39:05 +00:00
|
|
|
url='http://projects.archlinux.org/devtools.git/'
|
2014-02-16 00:50:17 +00:00
|
|
|
conflicts=('devtools')
|
|
|
|
provides=('devtools')
|
2013-05-31 18:39:05 +00:00
|
|
|
depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts')
|
2015-04-19 16:11:37 +00:00
|
|
|
source=("https://sources.archlinux.org/other/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
2018-05-12 17:15:15 +00:00
|
|
|
'add-etc-shadow-entry-for-builduser.patch'
|
2013-05-31 18:39:05 +00:00
|
|
|
'0001-makechrootpkg-cache-dir.patch'
|
2013-06-27 17:15:42 +00:00
|
|
|
'0002-arch-nspawn-keep-mirrorlist.patch'
|
|
|
|
'0003-makechrootpkg-distcc.patch'
|
|
|
|
'0004-arch-nspawn-arm-fix.patch'
|
2014-02-16 13:02:19 +00:00
|
|
|
'0005-makechrootpkg-no-default-logging.patch'
|
2016-07-04 03:33:59 +00:00
|
|
|
'0006-archbuild-no-setarch.patch'
|
2017-12-13 01:42:01 +00:00
|
|
|
'0007-makechrootpkg-don-t-delete-MAKEFLAGS-and-PACKAGER.patch'
|
|
|
|
'0008-fix-namcap-running-by-default.patch')
|
|
|
|
md5sums=('4a24b99bc1cffc63634eb7b3f5b116f1'
|
2018-05-12 17:15:15 +00:00
|
|
|
'573830ee23ecffa4971fbc36e5e2b666'
|
2017-12-13 01:42:01 +00:00
|
|
|
'3cac269603dfd9c2f9c4c2be24e8b149'
|
|
|
|
'1f74c22f44a4f2e39cafbd07d03595d5'
|
|
|
|
'2a85106eb9b7ffab1eacf41276ce070c'
|
|
|
|
'f3b14587bb007d84a7d6cba991680c41'
|
|
|
|
'526448ae6f391606388a12e7d91e1fd1'
|
|
|
|
'6f8453fd324e645ddf71b1009d1510a2'
|
|
|
|
'60f7567ac617785c15e0a1a8b6f2abb7'
|
|
|
|
'2d3fe5cf29b36a8b5abad93faa372c22')
|
2013-05-31 18:39:05 +00:00
|
|
|
|
|
|
|
prepare() {
|
2014-12-30 02:41:19 +00:00
|
|
|
cd "${_pkgname}-${pkgver}"
|
2018-05-12 17:15:15 +00:00
|
|
|
patch -Np1 -i ../add-etc-shadow-entry-for-builduser.patch
|
2014-12-30 02:41:19 +00:00
|
|
|
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
|
2016-07-04 03:33:59 +00:00
|
|
|
patch -p1 -i ../0007-makechrootpkg-don-t-delete-MAKEFLAGS-and-PACKAGER.patch
|
2017-12-13 01:42:01 +00:00
|
|
|
patch -p1 -i ../0008-fix-namcap-running-by-default.patch
|
2013-05-31 18:39:05 +00:00
|
|
|
}
|
2012-04-30 23:50:33 +00:00
|
|
|
|
|
|
|
build() {
|
2014-12-30 02:41:19 +00:00
|
|
|
cd "${_pkgname}-${pkgver}"
|
2013-05-31 18:39:05 +00:00
|
|
|
make PREFIX=/usr
|
2012-04-30 23:50:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-12-30 02:41:19 +00:00
|
|
|
cd "${_pkgname}-${pkgver}"
|
2013-05-31 18:39:05 +00:00
|
|
|
make PREFIX=/usr DESTDIR=${pkgdir} install
|
2012-04-30 23:50:33 +00:00
|
|
|
}
|