summaryrefslogtreecommitdiff
path: root/community/tea
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-07 11:25:20 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-07 11:25:20 -0300
commitea72eac0bc0d1abf4f6008383a8cf96bff0476da (patch)
treec6d9bfd076e21295939291fbf187f33d49de5538 /community/tea
parent6ba17fd7084afd34f49d65a2d214a0c9617b4cd4 (diff)
parent93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/avidemux/PKGBUILD extra/kdesdk/PKGBUILD extra/swh-plugins/PKGBUILD kde-unstable/kdesdk/PKGBUILD multilib/nspluginwrapper/PKGBUILD
Diffstat (limited to 'community/tea')
-rw-r--r--community/tea/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/community/tea/PKGBUILD b/community/tea/PKGBUILD
index cafa11dc2..c6378a352 100644
--- a/community/tea/PKGBUILD
+++ b/community/tea/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 47317 2011-05-21 17:27:47Z jelle $
+# $Id: PKGBUILD 48620 2011-06-03 13:51:59Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
@@ -7,31 +7,29 @@
pkgname=tea
pkgver=29.0.3
-pkgrel=1
+pkgrel=2
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' 'mips64el')
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
+source=(http://downloads.sourceforge.net/tea-editor/${pkgname}-${pkgver}.tar.bz2
tea.desktop)
md5sums=('1c900e7f57a0fe72fb4cc481450a5b32'
'377ace3363124f4c086de0babb820761')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
- qmake
+ qmake PREFIX=/usr/bin
make
}
-package(){
- cd ${srcdir}/$pkgname-$pkgver
- make INSTALL_ROOT=${pkgdir} install
- install -Dm755 ${pkgdir}/usr/local/bin/tea ${pkgdir}/usr/bin/tea
- rm -rf ${pkgdir}/usr/local
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
- install -Dm644 ${srcdir}/tea.desktop ${pkgdir}/usr/share/applications/tea.desktop
- install -Dm644 icons/tea_icon_v2.png ${pkgdir}/usr/share/pixmaps/tea.png
+ install -Dm644 "${srcdir}/tea.desktop" "${pkgdir}/usr/share/applications/tea.desktop"
+ install -Dm644 icons/tea_icon_v2.png "${pkgdir}/usr/share/pixmaps/tea.png"
}