|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild,v 1.2 2008/04/05 11:28:47 genstef Exp $ | # $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild,v 1.2 2008/04/05 11:28:47 genstef Exp $ |
| |
inherit eutils qt4 |
inherit eutils multilib qt4 |
| |
MY_P="${P/lastfmplayer/lastfm}.dfsg" | MY_P="${P/lastfmplayer/lastfm}.dfsg" |
| |
|
|
insinto /usr/share/lastfm/icons | insinto /usr/share/lastfm/icons |
doins user_*.png | doins user_*.png |
| |
|
sed -i -e "s,/usr/lib,/usr/$(get_libdir),g" debian/lastfm.install |
# make directories | # make directories |
for i in $(<debian/lastfm.install); do [ ${i:0:1} == / ] && dodir $i; done | for i in $(<debian/lastfm.install); do [ ${i:0:1} == / ] && dodir $i; done |
# debian installation | # debian installation |
|
|
bash debian/lastfm.install | bash debian/lastfm.install |
| |
# copied.. | # copied.. |
mv ${D}/usr/bin/last{.,}fm |
mv "${D}"/usr/bin/last{.,}fm |
rm -f ${D}/usr/share/lastfm/icons/{*profile24,systray_mac}.png |
rm -f "${D}"/usr/share/lastfm/icons/{*profile24,systray_mac}.png |
} | } |
| |
pkg_postinst() { | pkg_postinst() { |