forked from Plemya-x/alr-repo
		
	telegramm очистка
This commit is contained in:
		| @@ -39,7 +39,7 @@ package() { | |||||||
| 	install -dm755 "${pkgdir}/usr/bin" | 	install -dm755 "${pkgdir}/usr/bin" | ||||||
| 	install -dm755 "${pkgdir}/usr/share/pixmaps/" | 	install -dm755 "${pkgdir}/usr/share/pixmaps/" | ||||||
| 	install -dm755 "${pkgdir}/usr/share/applications/" | 	install -dm755 "${pkgdir}/usr/share/applications/" | ||||||
| 	# Program |     # Program | ||||||
| 	install -Dm755 "${srcdir}/Telegram/Telegram" "${pkgdir}/usr/bin/telegram-desktop" | 	install -Dm755 "${srcdir}/Telegram/Telegram" "${pkgdir}/usr/bin/telegram-desktop" | ||||||
|  |  | ||||||
| 	# Remove RPATH informations | 	# Remove RPATH informations | ||||||
| @@ -50,12 +50,10 @@ package() { | |||||||
| 	install -Dm644 "${scriptdir}/${name}.desktop" "${pkgdir}/usr/share/applications/telegramdesktop.desktop" | 	install -Dm644 "${scriptdir}/${name}.desktop" "${pkgdir}/usr/share/applications/telegramdesktop.desktop" | ||||||
|  |  | ||||||
|     # KDE5 & KDE4 protocol file |     # KDE5 & KDE4 protocol file | ||||||
| 	if $XDG_CURRENT_DESKTOP = KDE; then | 	install -d "${pkgdir}/usr/share/kservices5" | ||||||
|     install -d "${pkgdir}/usr/share/kservices5" |  | ||||||
| 	install -d "${pkgdir}/usr/share/kde4/services" | 	install -d "${pkgdir}/usr/share/kde4/services" | ||||||
| 	install -m644 "${scriptdir}/tg.protocol" "${pkgdir}/usr/share/kservices5/tg.protocol" | 	install -m644 "${scriptdir}/tg.protocol" "${pkgdir}/usr/share/kservices5/tg.protocol" | ||||||
| 	ln -s "/usr/share/kservices5/tg.protocol" "${pkgdir}/usr/share/kde4/services" | 	ln -s "/usr/share/kservices5/tg.protocol" "${pkgdir}/usr/share/kde4/services" | ||||||
|     fi |  | ||||||
|  |  | ||||||
| 	# Icons | 	# Icons | ||||||
| 	local icon_size icon_dir | 	local icon_size icon_dir | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user