mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
541 B
Bash
31 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=1
|
|
_gitname=dtc
|
|
pkgdesc="Device Tree Compiler"
|
|
url="http://jdl.com/software/"
|
|
arch=('i686' 'x86_64')
|
|
makedepends=('git')
|
|
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
|
|
}
|
|
|