32 lines
824 B
Plaintext
32 lines
824 B
Plaintext
# Description: BitTorrent client/daemon with command-line and web user interface
|
|
# URL: https://transmissionbt.com/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: curl libevent
|
|
|
|
name=transmission
|
|
version=4.0.2
|
|
release=1
|
|
source=(https://github.com/transmission/transmission/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D RUN_CLANG_TIDY=OFF \
|
|
-D ENABLE_TESTS=OFF \
|
|
-D ENABLE_NLS=OFF \
|
|
-D INSTALL_DOC=ON \
|
|
-D INSTALL_LIB=OFF \
|
|
-D ENABLE_WEB=OFF \
|
|
-D ENABLE_GTK=OFF \
|
|
-D ENABLE_QT=OFF \
|
|
-D ENABLE_CLI=ON \
|
|
-D ENABLE_DAEMON=ON
|
|
|
|
cmake --build build -j ${JOBS:-1}
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
find $PKG -name '*LICENSE*' -delete
|
|
}
|