PKGBUILDs/alarm/skales/PKGBUILD

28 lines
619 B
Bash
Raw Permalink Normal View History

2015-10-24 00:35:48 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=8
pkgname=skales
2016-12-25 02:18:13 +00:00
pkgver=r86.1ccd3e9
2015-10-24 00:35:48 +00:00
pkgrel=1
arch=('any')
pkgdesc="Qualcomm boot image utilities"
url="https://www.codeaurora.org/cgit/quic/kernel/skales/"
license=('custom')
2016-12-25 02:18:13 +00:00
depends=('python' 'dtc')
2015-10-24 00:35:48 +00:00
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)"
}
package() {
cd ${pkgname}
install -d "${pkgdir}/usr/bin"
install -m755 dtbTool "${pkgdir}/usr/bin"
install -m755 mkbootimg "${pkgdir}/usr/bin"
}