2016-02-06 00:02:07 +01:00
|
|
|
# Template file for 'libpurple-telegram'
|
|
|
|
|
|
|
|
pkgname="libpurple-telegram"
|
|
|
|
version="1.2.5"
|
2016-03-19 00:14:01 +01:00
|
|
|
revision=2
|
2016-02-06 00:02:07 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="git git-perl pkg-config"
|
|
|
|
makedepends="libpurple-devel libglib-devel libwebp-devel libgcrypt-devel"
|
|
|
|
short_desc="A Telegram plugin for libpurple"
|
|
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/majn/telegram-purple"
|
|
|
|
wrksrc="telegram-purple-${version}"
|
|
|
|
# This package builds and runs some tools as
|
|
|
|
# part of its build process, making cross-compilation
|
|
|
|
# difficult.
|
|
|
|
# TODO fix cross-compilation
|
|
|
|
nocross="yes"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone "${homepage}.git" "${wrksrc}"
|
|
|
|
cd "${wrksrc}"
|
|
|
|
git checkout "v${version}"
|
|
|
|
git submodule sync
|
|
|
|
git submodule update --init --recursive
|
|
|
|
}
|