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
|
2014-12-30 02:41:19 +00:00
|
|
|
pkgver=20141224
|
2014-06-29 00:49:04 +00:00
|
|
|
pkgrel=1
|
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')
|
2014-12-30 02:41:19 +00:00
|
|
|
source=("ftp://ftp.archlinux.org/other/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
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'
|
|
|
|
'0006-archbuild-no-setarch.patch')
|
2014-12-30 02:41:19 +00:00
|
|
|
md5sums=('9b6e6ce9da5b8e861c77f9badc652553'
|
|
|
|
'587badc10432dd0db01f4c79344205d8'
|
|
|
|
'9cbf8c343b38d0b5a07f015218ecae6e'
|
|
|
|
'c18f2a1b20388c4014536396ed56e3cb'
|
|
|
|
'54abb054918968b47c81d1e0ade98e69'
|
|
|
|
'100924fdcc75766d99a84f0f351ca79c'
|
|
|
|
'503229d4055f4877bad0f9cf2a929b5d')
|
2013-05-31 18:39:05 +00:00
|
|
|
|
|
|
|
prepare() {
|
2014-12-30 02:41:19 +00:00
|
|
|
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
|
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
|
|
|
}
|