mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added alarm/skales
This commit is contained in:
parent
a386f116c9
commit
f8ffbc0ca4
1 changed files with 32 additions and 0 deletions
32
alarm/skales/PKGBUILD
Normal file
32
alarm/skales/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=8
|
||||
|
||||
pkgname=skales
|
||||
pkgver=r59.15ece94
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc="Qualcomm boot image utilities"
|
||||
url="https://www.codeaurora.org/cgit/quic/kernel/skales/"
|
||||
license=('custom')
|
||||
depends=('python2' 'dtc')
|
||||
makedepends=('git')
|
||||
source=('git://codeaurora.org/quic/kernel/skales')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgname}
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}
|
||||
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" dtbTool mkbootimg
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
install -d "${pkgdir}/usr/bin"
|
||||
install -m755 dtbTool "${pkgdir}/usr/bin"
|
||||
install -m755 mkbootimg "${pkgdir}/usr/bin"
|
||||
}
|
Loading…
Reference in a new issue