summaryrefslogtreecommitdiff
path: root/community/tktheme/PKGBUILD
blob: dad5be087ac721daf6e38894319a185e126e1aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 81611 2012-12-25 00:34:17Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: slubman <slubman@slubman.net>

pkgname=tktheme
pkgver=0.23
pkgrel=8
pkgdesc="A library to allow Tkabber docking in the system tray."
arch=('i686' 'x86_64' 'mips64el')
depends=('tk' 'libxpm' 'libxmu')
license=("GPL")
source=(http://tkabber.jabber.ru/files/other/Tk_Theme-23.tgz)
url="http://tkabber.jabber.ru"
md5sums=('121c335e3b3764cbd04eea68b6a66dd3')

build() {
  cd $srcdir/Tk_Theme-23
  tclsh configure
  make
  mkdir -p $pkgdir/usr/lib/tktheme
  cp theme.so $pkgdir/usr/lib/tktheme/
  cp pkgIndex.tcl $pkgdir/usr/lib/tktheme/
  sed -i 's|ifneeded Tk_Theme 20|ifneeded Tk_Theme 23|' $pkgdir/usr/lib/tktheme/pkgIndex.tcl
}