[arch-commits] Commit in hexchat/trunk (PKGBUILD)

Maxime Gauduin alucryd at nymeria.archlinux.org
Thu Sep 12 08:20:08 UTC 2013


    Date: Thursday, September 12, 2013 @ 10:20:08
  Author: alucryd
Revision: 97065

upgpkg: hexchat 2.9.6-1

Modified:
  hexchat/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-12 07:33:31 UTC (rev 97064)
+++ PKGBUILD	2013-09-12 08:20:08 UTC (rev 97065)
@@ -3,39 +3,33 @@
 # Contributor: TingPing <tingping at tingping.se>
 
 pkgname=hexchat
-pkgver=2.9.5
-pkgrel=5
+pkgver=2.9.6
+pkgrel=1
 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')
+depends=('dbus-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'libcanberra' 'libnotify' 'libproxy' 'libsexy' 'pciutils')
+makedepends=('perl' 'python')
 optdepends=('enchant: Spell check'
             'perl: Perl plugin'
-            'python2: Python plugin')
+            'python: Python plugin')
 options=('!libtool')
-install=${pkgname}.install
+install="${pkgname}.install"
 source=("http://dl.hexchat.org/hexchat/hexchat-${pkgver}.tar.xz")
-sha256sums=('11dfd0fbfb88d8dbb38f631fab8a7dffbb179f7f7dafe316953ed6f513ac623d')
+sha256sums=('eaefc07867a6e546cd9e19a4ccc976b4736c759ba3f946020eeae3cd6f4684b0')
 
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
-# Build
-  ./autogen.sh
-  ./configure --prefix=/usr --enable-{shm,spell=libsexy,textfe}
+  ./configure --prefix='/usr' --enable-{python='python3',shm,spell='libsexy',textfe,xft}
   make
 }
 
 package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${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:




More information about the arch-commits mailing list