blob: d95412576838c82f1f13e85fcf716b8e5e92c46c (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
## Original CTorrent
## Maintainer: damir
## Contributor: lanrat
##
## Enhanced CTorrent
## Modified by: lydgate
## Mod to dnh3 by durbatuluk
# Maintainer: aksr <aksr at t-com dot me>
_pkgname=ctorrent
pkgname=enhanced-ctorrent
pkgver=dnh3.3.2
pkgrel=1.1
epoch=
pkgdesc="A BitTorrent client implemented in C++, with bugfixes and performance enhancements."
arch=('i686' 'x86_64')
url="http://www.rahul.net/dholmes/ctorrent/"
license=('GPL')
groups=()
depends=('openssl')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=('ctorrent-dnh')
replaces=('ctorrent')
backup=()
options=()
install=
changelog=
source=("http://www.rahul.net/dholmes/ctorrent/$_pkgname-$pkgver.tar.gz")
noextract=()
md5sums=('59b23dd05ff70791cd6449effa7fc3b6')
sha1sums=('d4e221f0292268f80e2430ce9d451dd64cf1ffaa')
sha256sums=('c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863')
_pinned_dependencies=(
'gcc-libs=12.2.0'
'glibc>=2.31'
'openssl=3.0.7'
)
makedepends=("${_pinned_dependencies[@]}")
build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$srcdir/$_pkgname-$pkgver"
make -k check
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 UserGuide $pkgdir/usr/share/doc/$_pkgname/UserGuide
install -Dm644 ChangeLog $pkgdir/usr/share/doc/$_pkgname/ChangeLog
install -Dm644 README-DNH.TXT $pkgdir/usr/share/doc/$_pkgname/README-DNH.TXT
}
|