summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa3c3bd5b30edbd3c80bfdab43a472ef60ef5f7c (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
# Maintainer: Artem Savkov <artem.savkov@gmail.com>

pkgname=bitlbee-discord-git
pkgver=125.d4c29da
pkgrel=1
pkgdesc="Bitlbee plugin for Discord"
arch=('i686' 'x86_64')
url="https://github.com/sm00th/bitlbee-discord"
license=('GPL')
depends=('bitlbee')
makedepends=('git' 'autoconf' 'automake' 'libtool')
source=("git+https://github.com/sm00th/bitlbee-discord")
sha256sums=('SKIP')

pkgver() {
    cd "bitlbee-discord"
    echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
    cd "bitlbee-discord"
    ./autogen.sh
    ./configure
    make
}

package() {
    cd "bitlbee-discord"
    make DESTDIR="$pkgdir" install
}