mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +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=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
|
|
}
|
|
|