2021-05-30 13:24:11 +02:00
|
|
|
# Maintainer: Sematre <sematre at gmx dot de>
|
|
|
|
pkgname=typos-bin
|
2021-09-14 20:49:45 +02:00
|
|
|
pkgver=1.1.9
|
2021-05-30 13:24:11 +02:00
|
|
|
pkgrel=1
|
|
|
|
|
|
|
|
pkgdesc="Source code spell checker."
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/crate-ci/${pkgname%-bin}"
|
|
|
|
license=('MIT' 'Apache')
|
|
|
|
provides=("${pkgname%-bin}")
|
|
|
|
conflicts=("${pkgname%-bin}")
|
2021-07-30 17:55:14 +02:00
|
|
|
source=("${pkgname%-bin}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}-x86_64-unknown-linux-musl.tar.gz"
|
2021-05-30 13:24:11 +02:00
|
|
|
"LICENSE-MIT::https://raw.githubusercontent.com/crate-ci/${pkgname%-bin}/v${pkgver}/LICENSE-MIT"
|
|
|
|
"LICENSE-APACHE::https://raw.githubusercontent.com/crate-ci/${pkgname%-bin}/v${pkgver}/LICENSE-APACHE")
|
2021-09-14 20:49:45 +02:00
|
|
|
sha256sums=('6a32cc2b5ea4e9c2857f8df4e75a49ee83b8535a90212d9a454a3cc1e274ac18'
|
2021-05-30 13:24:11 +02:00
|
|
|
'3c3d25d01d6a8e911c4baddc2a0ac74a014928066b7d29f1f7cfa73c2a7550bf'
|
|
|
|
'c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm 755 "${pkgname%-bin}" -t "${pkgdir}/usr/bin"
|
|
|
|
install -Dm 644 "LICENSE-MIT" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
install -Dm 644 "LICENSE-APACHE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
}
|