mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
718 B
Bash
32 lines
718 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=8
|
|
|
|
pkgname=meson-tools
|
|
pkgver=r29.b4eb36c
|
|
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} amlinfo unamlbootsig "${pkgdir}/usr/bin"
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|