PKGBUILDs/alarm/devtools-alarm/PKGBUILD

52 lines
1.7 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
2015-12-05 17:10:02 +00:00
pkgver=20151129
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/'
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"
2013-05-31 18:39:05 +00:00
'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'
2015-12-05 17:10:02 +00:00
'0006-archbuild-no-setarch.patch')
md5sums=('86fe057b7180ce0247338e64f1a8722c'
'755e80123ab9d6afc8bb392b9e41a5fc'
'85a94eb74f123d420cc16db1edacd10f'
'8a778d0f0ec93340c0ecd98df8e38527'
'adf75517838b4fdbbc3199ea2049fa73'
'29ca8fac5cf40b5f2b83a16b9eb968f8'
'9182e6ab4f3ed7a60d9263e839c0d71a')
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
}