blob: afb9ace1e5b4ec7da2393e28eb04038d346ab7f3 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: TingPing tingping@tingping.se
pkgname=hexchat-git
pkgver=2.12.0.r1295.g823ef32
pkgrel=1
pkgdesc='A GTK+ based IRC client'
arch=('i686' 'x86_64' 'armv6h')
url='https://hexchat.github.io'
license=('GPL')
options=('!libtool')
depends=('gtk2' 'openssl' 'dbus-glib' 'luajit'
'libcanberra' 'libnotify' 'libproxy'
'hicolor-icon-theme' 'desktop-file-utils' 'sound-theme-freedesktop' 'iso-codes')
makedepends=('intltool' 'git' 'perl' 'python' 'autoconf-archive')
optdepends=('enchant: for spell check'
'perl: for perl plugin'
'python: for python plugin')
provides=('hexchat')
conflicts=('hexchat' 'hexchat-lua-git')
replaces=('hexchat-lua-git')
source=('git://github.com/hexchat/hexchat.git')
md5sums=('SKIP')
_gitname='hexchat'
prepare() {
cd "$_gitname"
# Needed for pkgver()
aclocal
}
pkgver() {
cd "$_gitname"
# Development releases don't get tags, so pull it from configure.ac
_ver=`autoconf -t 'AC_INIT:$2'`
_rev=`git describe | sed 's/^v[^-]*-/r/; s/-/./'`
echo "$_ver.$_rev"
}
build() {
cd "$srcdir/$_gitname"
./autogen.sh --prefix=/usr --enable-textfe --enable-python=python3 --disable-debug
make -s
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir" install
}
|