blob: 4a19079ddf0018d22f6c893aee3cd891193cc7c1 (
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: Kujiu <kujiu+arch@kujiu.org>
pkgname=bitlbee-mastodon-git
pkgrel=2
pkgver=r151.cf2c48a
pkgdesc='Mastodon protocol plugin for BitlBee'
arch=('i686' 'x86_64')
url='https://github.com/kensanata/bitlbee-mastodon'
license=('GPL2')
depends=('bitlbee' 'glib2')
makedepends=('git' 'autoconf' 'automake' 'gcc')
conflicts=('bitlbee-mastodon')
source=("git+https://github.com/kensanata/${pkgname%-git}.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
./autogen.sh --prefix=/usr
./configure
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/usr/share/bitlbee"
cp "doc/mastodon-help.txt" "$pkgdir/usr/share/bitlbee"
}
# vim:set ts=2 sw=2 et:
|