# Maintainer: Kazuya Takei <myself@attakei.net> pkgname=firebase-tools-bin pkgver=14.5.1 pkgrel=1 pkgdesc=" The Firebase Command Line Tools (bundled official standalone binary)" arch=('x86_64') url="https://github.com/firebase/firebase-tools" license=('MIT') depends=( 'glibc' 'gcc-libs' ) conflicts=('firebase-tools') options=('!strip' '!debug') source=( "firebase-tools-linux-14.5.1::https://github.com/firebase/firebase-tools/releases/download/v14.5.1/firebase-tools-linux" "LICENSE-14.5.1::https://github.com/firebase/firebase-tools/raw/v14.5.1/LICENSE" ) md5sums=( 'e710de073bc8b41b716a54304e33bf99' '6ea8f4d1de9a164d33ffe95483a58af4' ) package() { binPath=${srcdir}/firebase-tools-linux-14.5.1 chmod +x ${binPath} install -Dm644 "${srcdir}/LICENSE-14.5.1" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm755 "${binPath}" "${pkgdir}/usr/bin/firebase" rm ${srcdir}/firebase-tools-linux-* rm ${srcdir}/LICENSE-* }