mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# $Id: PKGBUILD 3644 2009-10-06 22:36:23Z andrea $
|
|
# 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=26.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')
|
|
install=tea.install
|
|
source=(http://downloads.sourceforge.net/tea-editor/$pkgname-$pkgver.tar.bz2 \
|
|
tea.desktop)
|
|
md5sums=('316a257b10333ec7f61973a771e54937'
|
|
'377ace3363124f4c086de0babb820761')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
qmake
|
|
make || return 1
|
|
make INSTALL_ROOT=${pkgdir} install || return 1
|
|
|
|
install -Dm755 ${pkgdir}/usr/local/bin/tea \
|
|
${pkgdir}/usr/bin/tea || return 1
|
|
rm -rf ${pkgdir}/usr/local
|
|
|
|
install -Dm644 ${srcdir}/tea.desktop \
|
|
${pkgdir}/usr/share/applications/tea.desktop || return 1
|
|
install -Dm644 icons/tea_icon_v2.png \
|
|
${pkgdir}/usr/share/pixmaps/tea.png || return 1
|
|
}
|