summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e4c6b11f72a5de60bcf386bdada361232908c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Zhuoyun Wei <wzyboy@wzyboy.org>

pkgname=telegram-purple
pkgver=1.2.4
_pkgver=v1.2.4
pkgrel=1
pkgdesc="Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers."
arch=('i686' 'x86_64')
url="https://github.com/majn/telegram-purple"
license=("GPL")
makedepends=("git")
depends=('glib2' 'openssl' 'libpurple' 'zlib' 'libwebp')
source=("git+https://github.com/majn/telegram-purple.git")
sha256sums=('SKIP')

prepare() {
  cd "${srcdir}/${pkgname}"
  git checkout $_pkgver
  git submodule sync
  git submodule update --init --recursive
}

build() {
  cd "${srcdir}/${pkgname}"
  ./configure
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="$pkgdir" install
}