2017-05-06 00:57:34 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=8
|
|
|
|
|
|
|
|
pkgname=meson-tools
|
2019-07-08 13:51:14 +00:00
|
|
|
pkgver=r32.0a02e2d
|
2017-05-06 00:57:34 +00:00
|
|
|
pkgrel=1
|
|
|
|
arch=('aarch64')
|
|
|
|
pkgdesc="Amlogic Meson tools"
|
|
|
|
url="https://github.com/afaerber/meson-tools"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('openssl')
|
|
|
|
makedepends=('git')
|
|
|
|
source=('git+https://github.com/afaerber/meson-tools.git')
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd ${pkgname}
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}
|
|
|
|
install -d "${pkgdir}/usr/bin"
|
2019-07-08 13:51:14 +00:00
|
|
|
install -m755 amlbootenc-gxl amlbootsig{,-gxl} amlbootimg-gxl amlinfo unamlbootsig "${pkgdir}/usr/bin"
|
2017-05-06 00:57:34 +00:00
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
}
|