updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / sosator / PKGBUILD
blobe310447e38545416ef8d9debe8e4aab5ff9138aa
1 # Contributor: Anonymous <nomad@ag.ru>
2 pkgname=sosator
3 pkgver=0.3b
4 pkgrel=1
5 pkgdesc="Analyzes threads and finds sosnoovsheeh (special for /s/)"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/sosator/"
8 license=('unknown')
9 depends=('qt')
10 install=
11 source=(http://sosator.googlecode.com/files/$pkgname-$pkgver.tar.gz sosator.desktop)
12 md5sums=('e2f728d77dcf07f98969ad8dfeddadd3' '23aef37c448c68ced60e40bfabc6e6f7') 
13 build() {
14   cd "$srcdir/$pkgname-0.3" || return 1
15   qmake || return 1
16   make || return 1
17    install -d "$pkgdir/usr/bin"
18    install -dm 755 "$pkgdir/opt/$pkgname" || return 1
19    cp -R * "$pkgdir/opt/$pkgname/" || return 1
20    ln -s $pkgdir/opt/$pkgname/Sosator $pkgdir/usr/bin/$pkgname
21    install -Dm 644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop || return 1
23 # vim:set ts=2 sw=2 et: