PKGBUILDs/aur/dtc/PKGBUILD
Kevin Mihelich a25b33312a aur updates
2014-02-11 01:08:17 +00:00

32 lines
541 B
Bash

# Maintainer : Frederic Bezies <fredbezies at gmail dot com>
# For ArchLinux by Joël Porquet
pkgname=dtc
pkgver=v1.4.0
pkgrel=2
_gitname=dtc
pkgdesc="Device Tree Compiler"
url="http://jdl.com/software/"
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('git')
source=('git://jdl.com/software/dtc.git/')
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
}
build() {
cd $_gitname
make
}
package() {
cd $_gitname
make INSTALL=$(which install) DESTDIR=${pkgdir} PREFIX=/usr install
}