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

pkgname=poezio-git
_pkgname=poezio
pkgrel=1
pkgver=20230706.58360005
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=('gnupg: GPG plugin'
            'python-pyinotify: screen/tmux detach plugin'
            'figlet: ASCII art plugin'
            'python-aiohttp: file upload')

source=("git+https://codeberg.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
}