summaryrefslogtreecommitdiff
path: root/pcr/hexchat-libre/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-31 00:07:23 -0800
committerroot <root@rshg054.dnsready.net>2013-01-31 00:07:23 -0800
commita949895a0243a490d30fe355655c839fe217c580 (patch)
tree9895367801e2aab74b4a31e81263ab0d4693055f /pcr/hexchat-libre/PKGBUILD
parentc25b7aa323ab71b1a524d15dbbe942dbebd55761 (diff)
Thu Jan 31 00:07:23 PST 2013
Diffstat (limited to 'pcr/hexchat-libre/PKGBUILD')
-rw-r--r--pcr/hexchat-libre/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/pcr/hexchat-libre/PKGBUILD b/pcr/hexchat-libre/PKGBUILD
new file mode 100644
index 000000000..26c353fb9
--- /dev/null
+++ b/pcr/hexchat-libre/PKGBUILD
@@ -0,0 +1,46 @@
+#Maintainer: TingPing tingping@tingping.se
+#Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_pkgname=hexchat
+pkgname=hexchat-libre
+pkgver=2.9.4
+pkgrel=2
+pkgdesc='A GTK+ based IRC client without non-free browser reference'
+arch=('i686' 'x86_64' 'mips64el')
+url='http://www.hexchat.org/'
+license=('GPL')
+options=('!libtool')
+replaces=('hexchat')
+conflicts=('hexchat')
+provides=("hexchat=$pkgver")
+depends=('gtk2' 'openssl' 'dbus-glib' 'hicolor-icon-theme' 'libnotify' 'libproxy')
+makedepends=('perl' 'python2' 'tcl')
+optdepends=('enchant: for spell check'
+ 'perl: for perl plugin'
+ 'tcl: for tcl plugin'
+ 'python2: for python plugin')
+install="$_pkgname.install"
+source=("https://github.com/downloads/hexchat/hexchat/hexchat-$pkgver.tar.xz"
+ 'remove-non-free-suggestion.patch'
+ 'no-firefox.patch')
+md5sums=('5609cac7200fc91be57196501aaf07fa'
+ '978da875b73d9570134a1e87af54f94b'
+ '8934416304ed77161da0883d5b06e7b8')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch"
+ patch -p1 -i "${srcdir}/no-firefox.patch"
+ mkdir m4
+ chmod +x autogen.sh
+ ./autogen.sh
+ ./configure --prefix=/usr \
+ --enable-openssl --enable-dbus --enable-nls --enable-ipv6 --enable-shm --enable-spell=static
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -D -m644 "share/icons/hexchat.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/hexchat.svg"
+}