[arch-commits] Commit in tkabber/trunk (PKGBUILD tkabber)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed Jan 8 10:35:34 UTC 2014
Date: Wednesday, January 8, 2014 @ 11:35:34
Author: spupykin
Revision: 103605
upgpkg: tkabber 1.0-1
upd
Modified:
tkabber/trunk/PKGBUILD
Deleted:
tkabber/trunk/tkabber
----------+
PKGBUILD | 39 ++++++++++++++-------------------------
tkabber | 4 ----
2 files changed, 14 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-08 10:35:30 UTC (rev 103604)
+++ PKGBUILD 2014-01-08 10:35:34 UTC (rev 103605)
@@ -4,36 +4,25 @@
# Contributor: slubman <slubman at slubman.net>
pkgname=tkabber
-pkgver=0.11.1
-pkgrel=3
+pkgver=1.0
+pkgrel=1
pkgdesc="Tkabber is an open source Jabber client, written in Tcl/Tk."
arch=(any)
url="http://tkabber.jabber.ru/"
license=("GPL")
depends=('tcl' 'tk' 'bwidget' 'tcllib')
-source=(http://files.jabber.ru/tkabber/tkabber-$pkgver.tar.gz
- http://files.jabber.ru/tkabber/tkabber-plugins-$pkgver.tar.gz
- tkabber)
-md5sums=('718db4876e7efbf44867c845cf2a35a0'
- '1da01fafcb80083df799c92c83243b62'
- '568b7eb3199ea05bbf1cb09948d81ea7')
+source=(http://files.jabber.ru/tkabber/tkabber-$pkgver.tar.xz
+ http://files.jabber.ru/tkabber/tkabber-plugins-$pkgver.tar.xz)
+md5sums=('c82f0b93e1f221b1a91aa87d75cd7d0a'
+ '22ffa6241c07ba5f5cfe25e3f3b0204e')
+build() {
+ make -C $srcdir/$pkgname-$pkgver PREFIX=/usr
+# make -C $srcdir/$pkgname-plugins-$pkgver PREFIX=/usr
+}
+
package() {
- mkdir -p $pkgdir/usr/share
- mkdir -p $pkgdir/usr/bin
- mv $srcdir/$pkgname-$pkgver $pkgdir/usr/share
- mv $srcdir/$pkgname-plugins-$pkgver/* $pkgdir/usr/share/$pkgname-$pkgver/plugins
- cd $pkgdir/
- msg "Repair permissions..."
- chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/tkabber.tcl
-# chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/examples/tkabber_setstatus
- chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/examples/tclCarbonNotification-1.0.0/build.sh
-# chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/jabberlib-tclxml/tclxml/sgml-8.1.tcl
-# chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/jabberlib-tclxml/tclxml/sgmlparser.tcl
-# chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/jabberlib-tclxml/tclxml/tclparser-8.1.tcl
-# chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/jabberlib-tclxml/tclxml/xml-8.1.tcl
- chmod 755 $pkgdir/usr/share/$pkgname-$pkgver/plugins/whiteboard/svgrender.tcl
- msg "Installing tkabber script..."
- cat $srcdir/tkabber | sed -e "s/_TKABBERVER_/$pkgver/g" >> $pkgdir/usr/bin/tkabber
- chmod +x $pkgdir/usr/bin/tkabber
+ make -C $srcdir/$pkgname-$pkgver install PREFIX=$pkgdir/usr
+ make -C $srcdir/$pkgname-plugins-$pkgver install PREFIX=/usr DESTDIR=$pkgdir
+ sed -i "s|$pkgdir||g" $pkgdir/usr/bin/*
}
Deleted: tkabber
===================================================================
--- tkabber 2014-01-08 10:35:30 UTC (rev 103604)
+++ tkabber 2014-01-08 10:35:34 UTC (rev 103605)
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-cd /usr/share/tkabber-_TKABBERVER_/
-exec ./tkabber.tcl $*
More information about the arch-commits
mailing list