# Maintainer: Mark Wagie # Contributor: Juan Tascon pkgname=wtfutil-bin pkgver=0.37.0 pkgrel=1 pkgdesc="Personal information dashboard for your terminal" arch=('x86_64' 'aarch64' 'armv6h') url="https://wtfutil.com" license=('MPL2') depends=('glibc') provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") source_x86_64=("https://github.com/wtfutil/wtf/releases/download/v$pkgver/wtf_${pkgver}_linux_amd64.tar.gz") source_aarch64=("https://github.com/wtfutil/wtf/releases/download/v$pkgver/wtf_${pkgver}_linux_arm64.tar.gz") source_armv6h=("https://github.com/wtfutil/wtf/releases/download/v$pkgver/wtf_${pkgver}_linux_armv6.tar.gz") sha256sums_x86_64=('4cd38ed342f6e2acd1d65aa7e55f0d262ea2f73825e7fcde1a7d77ffe72d5fa4') sha256sums_aarch64=('6a430f3f3e2b3a5b0222ae0c40169ab01fb53812258e1255be88e460e077b494') sha256sums_armv6h=('a40ee1949c86ebc4c83b352da3835c8631a6421590861753117c9b01c3917266') package() { cd $(find . -name "wtf_$pkgver_*" -type d | sed 1q) install -Dm755 "${pkgname%-bin}" -t "$pkgdir/usr/bin" install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/${pkgname%-bin}" install -Dm644 README.md CHANGELOG.md -t "$pkgdir/usr/share/doc/${pkgname%-bin}" }