summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-05 17:39:01 +0100
committerBartłomiej Piotrowski2018-01-05 17:39:01 +0100
commit4e481cc94e1c0ead57b8e1fce90f7c0dd8bd06f6 (patch)
tree11226b5217e5feec200e973c0c61906e75ffd54c
downloadaur-4e481cc94e1c0ead57b8e1fce90f7c0dd8bd06f6.tar.gz
Import from official repositories
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
-rw-r--r--tea.desktop10
-rw-r--r--tea.install4
4 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..15ab4fd326f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = tea
+ pkgdesc = A Qt-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions.
+ pkgver = 44.1.0
+ pkgrel = 1
+ url = http://semiletov.org/tea/
+ install = tea.install
+ arch = x86_64
+ license = GPL
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = gcc-libs
+ depends = aspell
+ depends = hunspell
+ source = http://semiletov.org/tea/dloads/tea-44.1.0.tar.bz2
+ source = tea.desktop
+ sha256sums = 28b665a4ab30defa6699f8625a771612c6e0ae3160abf19e0e3d0a3778599890
+ sha256sums = 6bf04a66bce5a2396eadaee9c7ac7972f24670bbadf855c52146dce0e13f1324
+
+pkgname = tea
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..27e5f4fc214
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
+# 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=44.1.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=('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.desktop b/tea.desktop
new file mode 100644
index 00000000000..818704a2671
--- /dev/null
+++ b/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.install b/tea.install
new file mode 100644
index 00000000000..d7904254bfd
--- /dev/null
+++ b/tea.install
@@ -0,0 +1,4 @@
+post_upgrade() {
+ echo "############################################"
+ echo "for the old GTK branch of TEA install teagtk"
+}