summaryrefslogtreecommitdiff
path: root/xbot/PKGBUILD
blob: 92b7f8cbee872e5c1ffdf9d962b5e0b4277b1839 (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
# Maintainer: xengineering <mail2xengineering.eu>
pkgname=xbot
pkgver=0.1.0
pkgrel=1
pkgdesc="A Software to create simpel Chat Bots for the XMPP/Jabber Protocol."
arch=('x86_64')
url="https://src.xengineering.eu/xengineering/$pkgname"
license=('GPL3')
depends=('licenses' 'iniparser' 'libstrophe')
makedepends=('git' 'gcc')
source=("$url/archive/$pkgver.tar.gz")
sha256sums=('37769fc6744505524588254e225dee68a7784aa8a7db31e2e2ffc2bd38ea3d7d')

build() {
  cd "$pkgname"

  make all
}

package() {
  cd "$pkgname"

  install -Dm755 build/xbot "$pkgdir"/usr/bin/xbot
  install -Dm644 example_profile.ini "$pkgdir"/etc/xbot/example_profile.ini
}