updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / amsn-plugins-transparent / PKGBUILD
blob5998cf2e194ec4717f816cd4c71d2d1227c871fa
2 pkgname=amsn-plugins-transparent
3 pkgver=r10840
4 pkgrel=2
5 pkgdesc="This Amsn plugin makes chat windows transparent when not used, with a nice fade transition (composite required)."
6 depends=('amsn')
7 arch=('any')
8 conflicts=('amsn-extras-svn')
9 license=('GPL')
10 groups=('amsn-plugins')
11 url="http://www.amsn-project.net/plugins.php#45"
12 _pluginname="transparent"
13 source=(http://downloads.sourceforge.net/amsn/$_pluginname-$pkgver.zip)
14 md5sums=('9c2c7e050b75bbdb6b1402605491f42f')
17 build() {
18   cd $srcdir/$_pluginname
20   # Create destination directory
21   install -d $pkgdir/usr/share/amsn/plugins/$_pluginname
22   install -d $pkgdir/usr/share/amsn/plugins/$_pluginname/lang
23   
24   # Move lang files
25   install -m 0644 $srcdir/$_pluginname/lang/* $pkgdir/usr/share/amsn/plugins/$_pluginname/lang/
26   
27   # Move .tcl and xml file
28   install -m 0644 $srcdir/$_pluginname/{plugininfo.xml,$_pluginname.tcl} $pkgdir/usr/share/amsn/plugins/$_pluginname/