30 lines
820 B
Plaintext
30 lines
820 B
Plaintext
# Description: BitTorrent client with gtk user interface
|
|
# URL: http://transmission.m0k.org/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: gtk3 libevent
|
|
|
|
name=transmission-gtk
|
|
version=2.92
|
|
release=2
|
|
source=(https://github.com/transmission/transmission-releases/raw/master/transmission-$version.tar.xz
|
|
CVE-2018-5702.patch)
|
|
|
|
build() {
|
|
cd transmission-$version
|
|
|
|
patch -p1 -i $SRC/CVE-2018-5702.patch
|
|
|
|
export LINGUAS=" "
|
|
|
|
./configure --prefix=/usr \
|
|
--with-gtk \
|
|
--disable-cli \
|
|
--disable-daemon
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/transmission-gtk.desktop
|
|
rm $PKG/usr/{bin,share/man/man1}/transmission-{create,edit,show}*
|
|
rm -r $PKG/usr/share/transmission
|
|
}
|