blob: aa50e9b1fe6af29b732db154f03c6a3bde07f3d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
_pkgauthor=n0-computer
_pkgname=sendme
pkgname=${_pkgname}-bin
pkgver=0.20.0
pkgrel=1
pkgdesc='A tool to send files and directories'
url="https://github.com/${_pkgauthor}/${_pkgname}"
_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/v${pkgver}"
arch=('x86_64' 'aarch64')
license=('MIT' 'Apache')
depends=('glibc')
makedepends=('tar')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=("README-${pkgver}.md::${_urlraw}/README.md"
"LICENSE-MIT-${pkgver}::${_urlraw}/LICENSE-MIT"
"LICENSE-APACHE-${pkgver}::${_urlraw}/LICENSE-APACHE")
source_x86_64=("${url}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-linux-${arch[0]}.tar.gz")
source_x86_64=("${url}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-linux-${arch[1]}.tar.gz")
sha256sums=('744ac29212a7ce796a00d35d11c473490589e7326b9a5b5c05e6ba70a6b641f7'
'b801c8d677ef9701149e05cf98f28b82a56832dd67c94d96d36d25d063b1b353'
'7ee92352fcac2b427c4754822087d0aeb3afc99951b71bd15cc4c2e5c61c1b60')
sha256sums_x86_64=('0f28751e4fbffd46ba82b4aecf27b3bacd1f0eba6960f04374f5657fbbac7387')
package() {
cd "${srcdir}/" || exit
install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE-MIT-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
install -Dm644 "LICENSE-APACHE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
}
|