# $Id: PKGBUILD 44438 2011-04-07 13:23:53Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Andrea Scarpino # Contributor: Roman Kyrylych # Contributor: Michal Kaliszka # Contributor: Zsolt Varadi pkgname=tea pkgver=29.0.1 pkgrel=1 pkgdesc="A QT-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions." arch=('i686' 'x86_64') url="http://tea-editor.sourceforge.net/" license=('GPL') depends=('qt' 'aspell' 'hunspell') install=tea.install source=(http://downloads.sourceforge.net/tea-editor/$pkgname-$pkgver.tar.bz2 tea.desktop) md5sums=('079e5beb796a5df9da15c59df94ade77' '377ace3363124f4c086de0babb820761') build() { cd ${srcdir}/$pkgname-$pkgver qmake make make INSTALL_ROOT=${pkgdir} install install -Dm755 ${pkgdir}/usr/local/bin/tea \ ${pkgdir}/usr/bin/tea rm -rf ${pkgdir}/usr/local install -Dm644 ${srcdir}/tea.desktop \ ${pkgdir}/usr/share/applications/tea.desktop install -Dm644 icons/tea_icon_v2.png \ ${pkgdir}/usr/share/pixmaps/tea.png }