summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tea/PKGBUILD45
-rw-r--r--tea/tea.desktop10
-rw-r--r--tea/tea.install4
3 files changed, 59 insertions, 0 deletions
diff --git a/tea/PKGBUILD b/tea/PKGBUILD
new file mode 100644
index 00000000..0caa3975
--- /dev/null
+++ b/tea/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Roman Kyrylych <roman@archlinux.org>
+# Contributor: Michal Kaliszka <desmont@gmail.com>
+# Contributor: Zsolt Varadi <sysop_xxl@fibermail.hu>
+# Contributor: Holger Rauch < holger dot rauch at posteo dot de >
+
+pkgname=tea
+pkgver=44.1.0
+pkgrel=2
+pkgdesc="A Qt-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions."
+arch=('x86_64')
+url="http://semiletov.org/tea/"
+license=('GPL')
+depends=('qt5-base' 'qt5-declarative' 'gcc-libs' 'aspell' 'hunspell')
+install=tea.install
+DLAGENTS=("http::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
+source=(http://semiletov.org/tea/dloads/tea-$pkgver.tar.bz2
+ tea.desktop)
+sha256sums=('28b665a4ab30defa6699f8625a771612c6e0ae3160abf19e0e3d0a3778599890'
+ '6bf04a66bce5a2396eadaee9c7ac7972f24670bbadf855c52146dce0e13f1324')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|/usr/local|/usr|g' src.pro
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LANG="en_US.UTF-8"
+ export LC_ALL="en_US.UTF-8"
+ qmake-qt5
+ make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LANG="en_US.UTF-8"
+ export LC_ALL="en_US.UTF-8"
+ 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"
+}
diff --git a/tea/tea.desktop b/tea/tea.desktop
new file mode 100644
index 00000000..818704a2
--- /dev/null
+++ b/tea/tea.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Tea
+Comment=A small programmer's QT editor
+Exec=tea %U
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=tea.png
+Categories=Application;Utility;TextEditor;
diff --git a/tea/tea.install b/tea/tea.install
new file mode 100644
index 00000000..d7904254
--- /dev/null
+++ b/tea/tea.install
@@ -0,0 +1,4 @@
+post_upgrade() {
+ echo "############################################"
+ echo "for the old GTK branch of TEA install teagtk"
+}