blob: c892e8f1eb099d01afc59dd04e9dc2483df5b43a (
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
|
pkgname=irker-git
pkgver=2.12.r6.gd6c1e1c
pkgrel=1
pkgdesc="IRC client daemon accepting JSON notification requests"
url="http://www.catb.org/esr/irker/"
arch=('any')
license=('BSD')
conflicts=('irker')
provides=('irker')
depends=('python2')
makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
source=('git+https://gitorious.org/irker/irker.git')
sha1sums=('SKIP')
pkgver() {
cd irker
git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g'
}
build() {
cd irker
sed -i '1s|python|python2|' irk irkerd irkerhook.py
make
}
package() {
cd irker
make DESTDIR="$pkgdir" install
install -Dm 755 irkerhook.py "$pkgdir"/usr/bin/irkerhook.py
install -Dm 755 irk "$pkgdir"/usr/bin/irk
install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/irker/LICENSE
}
|