PKGBUILDs/alarm/devtools-alarm/PKGBUILD

54 lines
1.8 KiB
Bash
Raw Normal View History

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-06-29 00:49:04 +00:00
pkgver=20140510
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/'
conflicts=('devtools')
provides=('devtools')
2013-05-31 18:39:05 +00:00
depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts')
source=("ftp://ftp.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"ftp://ftp.archlinux.org/other/${_pkgname}/${_pkgname}-${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')
2014-06-29 00:49:04 +00:00
md5sums=('702376263627e594b5a7ff1970353de4'
2013-05-31 18:39:05 +00:00
'SKIP'
2014-01-22 01:39:39 +00:00
'7b96700206f0832d8f9c72adeccb8f9f'
'ac6a4477565030c8e2bea08068e7597f'
'97a011ae19be82b932ef8abab83f9b6a'
'd7c5800ed19500e33e2c9cf89c41a86c'
'473f7128e088188121f5565e7ca34759'
'a9f511668f1f8bb8f408017ec7dbabc9')
2013-05-31 18:39:05 +00:00
prepare() {
cd ${srcdir}/${_pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/0001-makechrootpkg-cache-dir.patch
patch -p1 -i "${srcdir}"/0002-arch-nspawn-keep-mirrorlist.patch
2013-05-31 18:39:05 +00:00
patch -p1 -i "${srcdir}"/0003-makechrootpkg-distcc.patch
patch -p1 -i "${srcdir}"/0004-arch-nspawn-arm-fix.patch
patch -p1 -i "${srcdir}"/0005-makechrootpkg-no-default-logging.patch
patch -p1 -i "${srcdir}"/0006-archbuild-no-setarch.patch
2013-05-31 18:39:05 +00:00
}
2012-04-30 23:50:33 +00:00
build() {
2013-05-31 18:39:05 +00:00
cd ${srcdir}/${_pkgname}-${pkgver}
make PREFIX=/usr
2012-04-30 23:50:33 +00:00
}
package() {
2013-05-31 18:39:05 +00:00
cd ${srcdir}/${_pkgname}-${pkgver}
make PREFIX=/usr DESTDIR=${pkgdir} install
2012-04-30 23:50:33 +00:00
}