mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
705 B
Bash
33 lines
705 B
Bash
# Maintainer: Stefan Agner <stefan@agner.ch>
|
|
|
|
pkgname=dtc-overlay
|
|
_gitname=dtc
|
|
pkgver=1.4.0
|
|
pkgrel=1
|
|
pkgdesc="Device Tree Compiler with device tree overlay (Symbols and Fixup) support"
|
|
url="http://jdl.com/software/"
|
|
conflicts=('dtc', 'dtc-git')
|
|
makedepends=('git')
|
|
arch=('armv7h')
|
|
license=('GPL2')
|
|
source=('git+http://jdl.com/software/dtc.git#tag=v1.4.0'
|
|
'dtc-dynamic-symbols-fixup-support.patch')
|
|
md5sums=('SKIP'
|
|
'6f0baf8509b56755643e9d62d94ec7bf')
|
|
|
|
prepare() {
|
|
cd ${_gitname}
|
|
git apply ${srcdir}/dtc-dynamic-symbols-fixup-support.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${_gitname}
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${_gitname}
|
|
|
|
make INSTALL=$(which install) DESTDIR=${pkgdir} PREFIX=/usr install || return 1
|
|
}
|
|
|