summaryrefslogtreecommitdiff
path: root/community/tea/PKGBUILD
blob: c59f354932c6e23ea47e914b91a64271b26ed34b (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
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 44100 2011-04-02 12:07:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Michal Kaliszka <desmont@gmail.com>
# Contributor: Zsolt Varadi <sysop_xxl@fibermail.hu>

pkgname=tea
pkgver=29.0.0
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=('06babb64e26f2a2c925d9e47f0a7b583'
         '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
}