# Maintainer : Frederic Bezies # For ArchLinux by Joël Porquet pkgname=dtc pkgver=v1.4.0 pkgrel=1 _gitname=dtc pkgdesc="Device Tree Compiler" url="http://jdl.com/software/" arch=('i686' 'x86_64') license=('GPL2') 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 }