[arch-commits] Commit in (5 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Tue Apr 2 18:29:07 UTC 2013
Date: Tuesday, April 2, 2013 @ 20:29:07
Author: alucryd
Revision: 87536
Add hexchat
Added:
hexchat/
hexchat/repos/
hexchat/trunk/
hexchat/trunk/PKGBUILD
hexchat/trunk/hexchat.install
-----------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
hexchat.install | 14 ++++++++++++++
2 files changed, 55 insertions(+)
Added: hexchat/trunk/PKGBUILD
===================================================================
--- hexchat/trunk/PKGBUILD (rev 0)
+++ hexchat/trunk/PKGBUILD 2013-04-02 18:29:07 UTC (rev 87536)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: TingPing <tingping at tingping.se>
+
+pkgname=hexchat
+pkgver=2.9.5
+pkgrel=3
+pkgdesc="A popular and easy to use graphical IRC (chat) client"
+arch=('i686' 'x86_64')
+url="http://www.hexchat.org/"
+license=('GPL')
+options=('!libtool')
+depends=('desktop-file-utils' 'gtkspell' 'hicolor-icon-theme' 'libnotify' 'libproxy' 'pciutils')
+makedepends=('perl' 'python2')
+optdepends=('enchant: Spell check'
+ 'perl: Perl plugin'
+ 'python2: Python plugin')
+install=${pkgname}.install
+source=("http://dl.hexchat.org/hexchat/hexchat-${pkgver}.tar.xz")
+sha256sums=('11dfd0fbfb88d8dbb38f631fab8a7dffbb179f7f7dafe316953ed6f513ac623d')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Build
+ ./autogen.sh
+ ./configure --prefix=/usr --enable-{shm,spell=gtkspell,textfe}
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+# Install
+ make DESTDIR="$pkgdir" install
+
+# IRC Mime Types
+ desktop-file-edit --add-mime-type='x-scheme-handler/irc;x-scheme-handler/ircs' --set-key=Exec --set-value='sh -c "hexchat --existing --url %u || exec hexchat"' "$pkgdir/usr/share/applications/hexchat.desktop"
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: hexchat/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: hexchat/trunk/hexchat.install
===================================================================
--- hexchat/trunk/hexchat.install (rev 0)
+++ hexchat/trunk/hexchat.install 2013-04-02 18:29:07 UTC (rev 87536)
@@ -0,0 +1,14 @@
+post_install() {
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: hexchat/trunk/hexchat.install
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
More information about the arch-commits
mailing list