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