mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added alarm/devtools-alarm
This commit is contained in:
parent
2e496a7042
commit
db1a49bfc3
1 changed files with 44 additions and 0 deletions
44
alarm/devtools-alarm/PKGBUILD
Normal file
44
alarm/devtools-alarm/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# $Id: PKGBUILD 152237 2012-03-05 17:04:50Z pierre $
|
||||||
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||||||
|
|
||||||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# - packaged using our git version
|
||||||
|
|
||||||
|
plugrel=1
|
||||||
|
|
||||||
|
pkgname=devtools-alarm
|
||||||
|
pkgver=20120430
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Tools for Arch Linux ARM build system clients'
|
||||||
|
arch=('any')
|
||||||
|
license=('GPL')
|
||||||
|
url='https://github.com/archlinuxarm/devtools'
|
||||||
|
depends=('namcap' 'openssh' 'subversion' 'rsync')
|
||||||
|
makedepends=('git')
|
||||||
|
conflicts=('devtools')
|
||||||
|
provides=('devtools')
|
||||||
|
|
||||||
|
_gitroot="git://github.com/archlinuxarm/devtools.git"
|
||||||
|
_gitname="devtools"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}"
|
||||||
|
msg "Connecting to GIT server...."
|
||||||
|
|
||||||
|
if [ -d $_gitname ] ; then
|
||||||
|
cd $_gitname && git pull origin
|
||||||
|
msg "The local files are updated."
|
||||||
|
else
|
||||||
|
git clone $_gitroot
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg "GIT checkout done or server timeout"
|
||||||
|
|
||||||
|
cd "${srcdir}/${_gitname}"
|
||||||
|
make PREFIX=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${_gitname}"
|
||||||
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in a new issue