diff options
author | Bao Trinh | 2021-10-27 07:29:25 -0500 |
---|---|---|
committer | Bao Trinh | 2021-10-27 07:30:07 -0500 |
commit | 3bd06289377dc7f6a6d1a1b4a2b749739cdad008 (patch) | |
tree | 2bbdd4e778818674171c1a20284dd963af7bf398 | |
download | aur-3bd06289377dc7f6a6d1a1b4a2b749739cdad008.tar.gz |
v1.7.21116.1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..64ebff138f46 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = qbittorrent-cli + pkgdesc = Command line interface for QBittorrent + pkgver = 1.7.21116.1 + pkgrel = 1 + url = https://github.com/fedarovich/qbittorrent-cli + arch = i686 + arch = x86_64 + arch = arm + arch = aarch64 + license = MIT + depends = dotnet-runtime>=3.1.0 + options = !strip + source = https://github.com/fedarovich/qbittorrent-cli/releases/download/v1.7.21116.1/qbt-netcore31-1.7.21116.1.tar.gz + sha256sums = 6063231629f6531b4ede4a41702b27729fe93495e7ddd5843e2591d099a030f6 + +pkgname = qbittorrent-cli diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a45ab75e520 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Bao Trinh <qubidt@gmail.com> + +pkgname=qbittorrent-cli +pkgver=1.7.21116.1 +pkgrel=1 +pkgdesc='Command line interface for QBittorrent ' +arch=('i686' 'x86_64' 'arm' 'aarch64') +url="https://github.com/fedarovich/qbittorrent-cli" +license=('MIT') +depends=('dotnet-runtime>=3.1.0') +source=("https://github.com/fedarovich/qbittorrent-cli/releases/download/v${pkgver}/qbt-netcore31-${pkgver}.tar.gz") +sha256sums=('6063231629f6531b4ede4a41702b27729fe93495e7ddd5843e2591d099a030f6') +options=('!strip') + +package() { + install -d "${pkgdir}/usr/lib/${pkgname}" + install -Dm755 -t "${pkgdir}/usr/lib/${pkgname}" qbt + install -Dm644 -t "${pkgdir}/usr/lib/${pkgname}" qbt.runtimeconfig.json qbt.deps.json *.dll + + install -d "${pkgdir}/usr/bin" + ln -s "/usr/lib/${pkgname}/qbt" "${pkgdir}/usr/bin/qbt" + + install -d "${pkgdir}/usr/lib/${pkgname}/runtimes" + case "$CARCH" in + i686) cp -ar "runtimes/linux-x86" "${pkgdir}/usr/lib/${pkgname}/runtimes/" ;; + x86_64) cp -ar "runtimes/linux-x64" "${pkgdir}/usr/lib/${pkgname}/runtimes/" ;; + arm) cp -ar "runtimes/linux-arm" "${pkgdir}/usr/lib/${pkgname}/runtimes/" ;; + aarch64) cp -ar "runtimes/linux-aarch64" "${pkgdir}/usr/lib/${pkgname}/runtimes/" ;; + esac +} |