summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25be905961bb82c9de187f393236aac42a3d256c (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
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: GI_Jack <GI_Jack@hackermail.com>

# Original Work
#	Joe Davison <joe@warhaggis.com>
#	Felix Golatofski <contact@xdfr.de>
#	zer0def <zer0def on freenode>

pkgname=libpurple-signald
pkgver=0.12.0
pkgrel=1
pkgdesc='Pidgin libpurple bridge to signald.'
url='https://github.com/hoehermann/libpurple-signald'
license=('GPL3')
arch=('any')
conflicts=('libpurple-signald-git')
depends=('json-glib' 'libpurple' 'signald' 'qrencode')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hoehermann/libpurple-signald/archive/v${pkgver}.tar.gz")
sha256sums=('50ae22bcb6de410c344330a0e35a4da524998af775733472828e54402e2d83cb')

prepare(){
  cd "${srcdir}/purple-signald-${pkgver}"
  cd submodules
  git clone -n https://github.com/trumpowen/MegaMimes/
  cd MegaMimes
  git checkout b839068db99cbfcff1af8df1229bd7e41701fe96
  cd ..
  git clone -n https://github.com/nayuki/QR-Code-generator/
  cd QR-Code-generator
  git checkout 4e41cb2c721a5e06eff75e79fd47a4274f6bb8b0
}

build() {
  cd "${srcdir}/purple-signald-${pkgver}"
  mkdir build
  cd build
  cmake ..
  make
}

package() {
  cd "${srcdir}/purple-signald-${pkgver}"
  cd build
  make DESTDIR="${pkgdir}" install
}