[arch-commits] Commit in hexchat/repos (6 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Sun May 19 21:58:31 UTC 2013
Date: Sunday, May 19, 2013 @ 23:58:31
Author: alucryd
Revision: 91126
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
hexchat/repos/community-staging-i686/
hexchat/repos/community-staging-i686/PKGBUILD
(from rev 91125, hexchat/trunk/PKGBUILD)
hexchat/repos/community-staging-i686/hexchat.install
(from rev 91125, hexchat/trunk/hexchat.install)
hexchat/repos/community-staging-x86_64/
hexchat/repos/community-staging-x86_64/PKGBUILD
(from rev 91125, hexchat/trunk/PKGBUILD)
hexchat/repos/community-staging-x86_64/hexchat.install
(from rev 91125, hexchat/trunk/hexchat.install)
------------------------------------------+
community-staging-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++
community-staging-i686/hexchat.install | 14 +++++++++
community-staging-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++
community-staging-x86_64/hexchat.install | 14 +++++++++
4 files changed, 110 insertions(+)
Copied: hexchat/repos/community-staging-i686/PKGBUILD (from rev 91125, hexchat/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-05-19 21:58:31 UTC (rev 91126)
@@ -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=5
+pkgdesc="A popular and easy to use graphical IRC (chat) client"
+arch=('i686' 'x86_64')
+url="http://www.hexchat.org/"
+license=('GPL')
+depends=('dbus-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'libnotify' 'libproxy' 'libsexy' 'pciutils')
+makedepends=('perl' 'python2')
+optdepends=('enchant: Spell check'
+ 'perl: Perl plugin'
+ 'python2: Python plugin')
+options=('!libtool')
+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=libsexy,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:
Copied: hexchat/repos/community-staging-i686/hexchat.install (from rev 91125, hexchat/trunk/hexchat.install)
===================================================================
--- community-staging-i686/hexchat.install (rev 0)
+++ community-staging-i686/hexchat.install 2013-05-19 21:58:31 UTC (rev 91126)
@@ -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:
Copied: hexchat/repos/community-staging-x86_64/PKGBUILD (from rev 91125, hexchat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-05-19 21:58:31 UTC (rev 91126)
@@ -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=5
+pkgdesc="A popular and easy to use graphical IRC (chat) client"
+arch=('i686' 'x86_64')
+url="http://www.hexchat.org/"
+license=('GPL')
+depends=('dbus-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'libnotify' 'libproxy' 'libsexy' 'pciutils')
+makedepends=('perl' 'python2')
+optdepends=('enchant: Spell check'
+ 'perl: Perl plugin'
+ 'python2: Python plugin')
+options=('!libtool')
+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=libsexy,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:
Copied: hexchat/repos/community-staging-x86_64/hexchat.install (from rev 91125, hexchat/trunk/hexchat.install)
===================================================================
--- community-staging-x86_64/hexchat.install (rev 0)
+++ community-staging-x86_64/hexchat.install 2013-05-19 21:58:31 UTC (rev 91126)
@@ -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:
More information about the arch-commits
mailing list