mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
54 lines
1.8 KiB
Bash
54 lines
1.8 KiB
Bash
# $Id: PKGBUILD 182399 2013-04-10 05:34:09Z pierre $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patches to fix issues with how we use the tools
|
|
|
|
pkgname=devtools-alarm
|
|
_pkgname=devtools
|
|
pkgver=20160528
|
|
pkgrel=2
|
|
pkgdesc='Tools for Arch Linux ARM package maintainers'
|
|
arch=('any')
|
|
license=('GPL')
|
|
url='http://projects.archlinux.org/devtools.git/'
|
|
conflicts=('devtools')
|
|
provides=('devtools')
|
|
depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts')
|
|
source=("https://sources.archlinux.org/other/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
'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')
|
|
md5sums=('aa2ec2fd3a377fb5a1e7b0d2e491f99b'
|
|
'0e95fab4943ac07968613210386bb3a2'
|
|
'7fa66ac96350d20a7ea5796fc3a74551'
|
|
'8d070301e36c453a922997c7511326db'
|
|
'3ef8b4a7bbc0772c36be29ac27f4e08e'
|
|
'1d8710a87530f36d544afb99bad4cb01'
|
|
'e745a81238e1dcfc46ae2aec64e59731'
|
|
'95cd4a5c70892c6f12424655884f43fb')
|
|
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cd "${_pkgname}-${pkgver}"
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "${_pkgname}-${pkgver}"
|
|
make PREFIX=/usr DESTDIR=${pkgdir} install
|
|
}
|