35 lines
		
	
	
		
			774 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			774 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
 | 
						|
# Distributed under the terms of the GNU General Public License v2
 | 
						|
 | 
						|
require github [ user="majn" release="v${PV}" pnv="${PN}_${PV}.orig" suffix="tar.gz" ]
 | 
						|
 | 
						|
SUMMARY="Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers"
 | 
						|
 | 
						|
LICENCES="GPL-2"
 | 
						|
SLOT="0"
 | 
						|
PLATFORMS="~amd64"
 | 
						|
MYOPTIONS=""
 | 
						|
 | 
						|
DEPENDENCIES="
 | 
						|
    build:
 | 
						|
        sys-devel/gettext
 | 
						|
        virtual/pkg-config
 | 
						|
    build+run:
 | 
						|
        dev-libs/glib:2
 | 
						|
        dev-libs/libgcrypt
 | 
						|
        media-libs/libpng:=
 | 
						|
        media-libs/libwebp:=
 | 
						|
        net-im/pidgin
 | 
						|
        sys-libs/zlib
 | 
						|
"
 | 
						|
 | 
						|
BUGS_TO="hasufell@posteo.de"
 | 
						|
 | 
						|
WORK="${WORKBASE}/${PN}"
 | 
						|
 | 
						|
src_install() {
 | 
						|
    default
 | 
						|
    edo rmdir "${IMAGE}"/etc/telegram-purple
 | 
						|
    edo rmdir "${IMAGE}"/etc
 | 
						|
}
 |