void-packages/srcpkgs/libpurple-telegram/template

27 lines
749 B
Bash
Raw Normal View History

2016-02-06 00:02:07 +01:00
# Template file for 'libpurple-telegram'
pkgname="libpurple-telegram"
version="1.2.5"
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
}