Initial commit
This commit is contained in:
commit
32549882af
2 changed files with 42 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
@ -0,0 +1,19 @@
|
|||
pkgbase = typos-bin
|
||||
pkgdesc = Source code spell checker.
|
||||
pkgver = 1.0.3
|
||||
pkgrel = 1
|
||||
url = https://github.com/crate-ci/typos
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
license = Apache
|
||||
provides = typos
|
||||
conflicts = typos
|
||||
source = typos-1.0.3.tar.gz::https://github.com/crate-ci/typos/releases/download/v1.0.3/typos-v1.0.3-x86_64-unknown-linux-gnu.tar.gz
|
||||
source = LICENSE-MIT::https://raw.githubusercontent.com/crate-ci/typos/v1.0.3/LICENSE-MIT
|
||||
source = LICENSE-APACHE::https://raw.githubusercontent.com/crate-ci/typos/v1.0.3/LICENSE-APACHE
|
||||
sha256sums = b7a59815d70429a58ff3fc8fc2f6e5d48cad4566cf089ab0d929d6697fd2e95b
|
||||
sha256sums = 3c3d25d01d6a8e911c4baddc2a0ac74a014928066b7d29f1f7cfa73c2a7550bf
|
||||
sha256sums = c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08
|
||||
|
||||
pkgname = typos-bin
|
||||
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: Sematre <sematre at gmx dot de>
|
||||
pkgname=typos-bin
|
||||
pkgver=1.0.3
|
||||
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}")
|
||||
source=("${pkgname%-bin}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}-x86_64-unknown-linux-gnu.tar.gz"
|
||||
"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")
|
||||
sha256sums=('b7a59815d70429a58ff3fc8fc2f6e5d48cad4566cf089ab0d929d6697fd2e95b'
|
||||
'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}"
|
||||
}
|
Loading…
Reference in a new issue