PKGBUILDs/aur/dtc/PKGBUILD
Kevin Mihelich 6884cd78f1 aur updates
2014-10-15 01:51:14 +00:00

31 lines
568 B
Bash

# Maintainer : Frederic Bezies <fredbezies at gmail dot com>
# For ArchLinux by Joël Porquet
pkgname=dtc
pkgver=v1.4.0.42.g6a76a9d
pkgrel=1
_gitname=dtc
pkgdesc="Device Tree Compiler"
url="http://jdl.com/software/"
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('git')
source=('git://git.kernel.org/pub/scm/utils/dtc/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
}