PKGBUILDs/alarm/devtools-alarm/PKGBUILD

45 lines
965 B
Bash
Raw Normal View History

2012-04-30 23:50:33 +00:00
# $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
2012-05-16 02:52:04 +00:00
pkgver=20120515
2012-05-16 03:17:05 +00:00
pkgrel=2
2012-04-30 23:50:33 +00:00
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
}