diff options
author | Erich Eckner <git@eckner.net> | 2018-03-13 09:53:22 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-13 09:53:22 +0100 |
commit | 03a52a9b4a5d7c9fc12366227c9da6c832662b50 (patch) | |
tree | ed93086ea148d3e3e2474736ae8525457ac98310 /tea | |
parent | 91378393b6592032ea92f78545696a0d79cbca1b (diff) | |
download | archlinuxewe.git.save-03a52a9b4a5d7c9fc12366227c9da6c832662b50.tar.xz |
tea neu
Diffstat (limited to 'tea')
-rw-r--r-- | tea/PKGBUILD | 45 | ||||
-rw-r--r-- | tea/tea.desktop | 10 | ||||
-rw-r--r-- | tea/tea.install | 4 |
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" +} |