blob: d11ea4cada30eb261e4aba37b97044d3ddea9312 (
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
|
# Maintainer: iamawacko <iamawacko@protonmail.com>
# Contributor: MCOfficer <MCOfficer@gmx.de>
pkgname=ruget-bin
pkgver=0.4.3
pkgrel=2
arch=(x86_64)
pkgdesc="Alternative to wget written in Rust"
url="https://github.com/ksk001100/ruget"
license=('MIT')
depends=("openssl-1.0")
_archivename="ruget-v${pkgver}-${arch}-unknown-linux-gnu"
source=("https://github.com/ksk001100/ruget/releases/download/v${pkgver}/${_archivename}.zip")
sha256sums=('fba869d379e10bc8bcc3808a9f16708396ffa2a3def6a874708b2d92b44c256d')
provides=(ruget)
conflicts=(ruget)
package() {
cd "$srcdir/$_archivename"
mkdir -p "$pkgdir/usr/bin"
cp ruget "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
cp LICENSE "$pkgdir/usr/share/licenses/$pkgname"
}
|