summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56bd0f2d3433103bb28349dc93e0dbb7dfdb04b3 (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
# Maintainer: EndlessEden <eden.rose@deep-rose.org>
#
# Original Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
#
# Upstream: https://git.metalpunks.info/arch-ports

_pkgname=talkatu
pkgname=$_pkgname-hg
pkgver=1.0.r491.ad000db4fe9a
pkgrel=1
pkgdesc="Gtk+ widgets for chat software"
arch=('i686' 'x86_64')
url="https://keep.imfreedom.org/talkatu/talkatu"
license=('GPL2')
depends=('gtk3>=3.10.0' 'glade>=2.0' 'gumbo-parser>=0.10' 'gspell>=1.2' 'cmark')
makedepends=('mercurial' 'meson' 'vala' 'help2man' 'gtk-doc' 'gobject-introspection')
source=("$pkgname::hg+https://keep.imfreedom.org/$_pkgname/$_pkgname")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname}"
  printf "1.0.r%s.%s" \
    "$(hg identify -n)" \
    "$(hg identify -i)"
}

build() {
  cd "${pkgname}"
  arch-meson build -Dtests=false
  ninja -C build
}

package() {
  cd "${pkgname}"
  DESTDIR="${pkgdir}" ninja -C build install
  cd ${pkgdir}/usr/include
  ln -s talkatu-1.0 talkatu
}