transmission-qt: fix icon in .desktop file.

This commit is contained in:
Juan RP 2016-03-21 10:34:47 +01:00
parent 392a823c10
commit ea11275955
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'transmission'
pkgname=transmission
version=2.92
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon"
hostmakedepends="pkg-config intltool"
@ -70,6 +70,7 @@ transmission-qt_package() {
vmove usr/bin/transmission-qt
vmove usr/share/man/man1/transmission-qt.1
vmove usr/share/qt4/translations
sed -i '/Icon=/s/transmission/&-qt/' ${wrksrc}/qt/transmission-qt.desktop
vinstall ${wrksrc}/qt/icons/transmission.png 644 usr/share/pixmaps transmission-qt.png
vinstall ${wrksrc}/qt/transmission-qt.desktop 644 usr/share/applications
}