mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-18 23:11:54 +00:00
32 lines
733 B
Bash
32 lines
733 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=8
|
|
|
|
pkgname=meson-tools
|
|
pkgver=r32.0a02e2d
|
|
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"
|
|
install -m755 amlbootenc-gxl amlbootsig{,-gxl} amlbootimg-gxl amlinfo unamlbootsig "${pkgdir}/usr/bin"
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|