summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af521222cc01d9b5a3bae796a5e564fd1813afa3 (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: ahbnr <anton dot haubner at outlook dot de>

pkgname=chat-bin
pkgver=r49.1bcb047
pkgrel=1
pkgdesc="Simple p2p cli chat application."
arch=('i686' 'x86_64')
url="https://github.com/ahbnr/chat"
license=('GPL3')
depends=('glibc>=2.28' 'zlib>=1.2.11' 'gmp>=6.1.2')
makedepends=('curl')
replaces=()
conflicts=('chat-git' 'chat-bin' 'chat-irc-bin' 'chat-irc-git')
provides=('chat')
backup=()
options=()
install=
source=('https://ahbnr.de/jenkins/job/chat/lastSuccessfulBuild/artifact/chat' 'https://ahbnr.de/jenkins/job/chat/lastSuccessfulBuild/artifact/version')
noextract=()
md5sums=('SKIP' 'SKIP')

pkgver() {
  cat "$srcdir/version"
}

build() {
  chmod +x "$srcdir/chat"
}

package() {
  binary="chat"

  strip -s "${binary}"

  mkdir -p "$pkgdir/usr/bin"
  cp "${binary}" "$pkgdir/usr/bin"
}