mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/rtorrent: clarify license, modernize
This commit is contained in:
parent
c3fdaa19b0
commit
59ef7a8da8
@ -2,22 +2,19 @@
|
||||
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
||||
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
|
||||
pkgname=rtorrent
|
||||
pkgver=0.9.8
|
||||
pkgrel=0
|
||||
pkgdesc="Ncurses BitTorrent client based on libTorrent"
|
||||
url="https://rakshasa.github.io/rtorrent/"
|
||||
license="GPL"
|
||||
license="GPL-2.0-or-later"
|
||||
arch="all"
|
||||
makedepends="libsigc++-dev libtorrent-dev curl-dev xmlrpc-c-dev ncurses-dev"
|
||||
checkdepends="cppunit-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -32,12 +29,10 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.rc
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user