summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1efe4c1be5ed0c4aa709473765f25cf61dc1048e (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
# Maintainer: mathieui <mathieui[at]mathieui.net>

pkgname=poezio-git
_pkgname=poezio
pkgrel=1
pkgver=20190104.7d6cd695
pkgdesc="A full-featured command-line irc-like (muc-centered) jabber client (git)"
arch=('i686' 'x86_64')
url="http://poez.io"
conflicts=('poezio')
provides=('poezio')
license=('zlib')
depends=('python' 'python-setuptools' 'python-slixmpp-git')
makedepends=('git' 'python-sphinx')
optdepends=('pure-python-otr-git: OTR plugin'
            'gnupg: GPG plugin'
            'python-pyinotify: screen/tmux detach plugin'
            'figlet: ASCII art plugin'
            'python-aiohttp: file upload')

source=("git+https://lab.louiz.org/poezio/poezio.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git log -1 --format='%cd.%h' --date=short | tr -d - | sed 's/-/./'
}

build() {
  cd "$srcdir/$_pkgname"
  make
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir/" prefix=/usr install
}