smlinux/net/transmission/smbuild

33 lines
828 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=transmission
version=2.94
build=1sml
homepage="https://transmissionbt.com/"
download="https://github.com/transmission/transmission-releases/raw/master/transmission-$version.tar.xz"
desc="Torrent client with text-mode, remote, daemon and GTK+3"
requires="intltool curl desktop-file-utils libevent miniupnpc libnotify hicolor-icon-theme gtk3"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
ded4533415be4f8db35a195215a40e556447bc428422509c21a8f7ecefe3050c93f05b0d0a4af891002e4610ed09511c85e0df0e2526b9318788db009ca3db37 transmission-2.94.tar.lz
"