updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / schat / PKGBUILD
blobec427ca780d83dac9e368034d6a1148707c7ed71
1 pkgname=schat
2 pkgrel=1
3 pkgver=0.8.1.1452
4 pkgdesc="IMPOMEZIA Simple Chat — is a simple cross-platform client-server chat for local networks and the Internet with the possibility of individual settings for a specific network, with open source code, written in Qt/C++."
5 url="http://code.google.com/p/schat/"
6 depends=('qt')
7 license=("GPL3")
8 arch=('i686' 'x86_64')
9 source=("http://schat.googlecode.com/files/schat-$pkgver.tar.bz2" "schat.desktop")
10 md5sums=("7d0328efec2d9f27b78c9164eecf3b34" "a5a91d19b548e3dffd8c334162fb4460")
11 build () {
12   cd ${srcdir}/$pkgname-$pkgver/src
13   qmake || return 1
14   make || return 1
15   install -d -m 755 ${pkgdir}/usr/bin/
16   install -d -m 755 ${pkgdir}/usr/share/schat
17   cp -R  ${srcdir}/$pkgname-$pkgver/data/* ${pkgdir}/usr/share/schat
18   install -D -m 644 ${srcdir}/schat.desktop ${pkgdir}/usr/share/applications/schat.desktop
19   install -m 755 ${srcdir}/$pkgname-$pkgver/out/release/* ${pkgdir}/usr/bin/