diff options
author | Erich Eckner <git@eckner.net> | 2019-10-14 15:22:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-14 15:22:56 +0200 |
commit | 2bc02c2cb73886c78f55bf96acd374a950d11d67 (patch) | |
tree | 189029ea7323a9c5e0350a886af508d345acf5bf | |
parent | 67e24332f95ce218cb1a2a97dd70840c2509573a (diff) | |
download | archlinuxewe.git.save-2bc02c2cb73886c78f55bf96acd374a950d11d67.tar.xz |
tea -> tea-qt (now downloaded from github)
-rwxr-xr-x | checkVersions | 12 | ||||
-rw-r--r-- | tea-qt/PKGBUILD | 32 | ||||
-rw-r--r-- | tea/PKGBUILD | 40 | ||||
-rw-r--r-- | tea/tea.desktop | 10 | ||||
-rw-r--r-- | tea/tea.install | 4 |
5 files changed, 32 insertions, 66 deletions
diff --git a/checkVersions b/checkVersions index 32d4f772..40394c87 100755 --- a/checkVersions +++ b/checkVersions @@ -956,18 +956,6 @@ then latest_version )" elif echo "${src}" | \ - grep -q '://semiletov\.org/[^/]*/dloads/' - then - remVer=$( - curl_it "${source%%/dloads/*}/" | \ - tr '"' '\n' | \ - sed -n ' - s,^\(http://.*/\|dloads/\|\)'"${pkgname}"'-\([0-9.]\+\)\.tar\.bz2$,\2, - T - p - ' - ) - elif echo "${src}" | \ grep -qF '//www.roguetemple.com/' then remVer=$( diff --git a/tea-qt/PKGBUILD b/tea-qt/PKGBUILD new file mode 100644 index 00000000..221e62ae --- /dev/null +++ b/tea-qt/PKGBUILD @@ -0,0 +1,32 @@ +# $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-qt +pkgver=48.0.0 +pkgrel=1 +pkgdesc="A Qt-based text editor for Linux and *BSD with an ultimate small size, providing hundreds of functions" +arch=('i686' 'pentium4' 'x86_64') +url="http://semiletov.org/tea/" +license=('GPL') +depends=('qt5-base' 'qt5-declarative' 'gcc-libs' 'aspell' 'hunspell' 'poppler-qt5' 'djvulibre' 'desktop-file-utils') +makedepends=('cmake') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/psemiletov/tea-qt/archive/${pkgver}.tar.gz") +sha512sums=('a52b46ae591bb9c74e62dee8941259728d4b74483c6f7141869dc9653006e69aedb47bc0782b0a84175166814190633d919f55ce1fe4d8adb8a0f19a372539c5') + +build() { + mkdir -p "${srcdir}/${pkgname}-${pkgver}/b" + cd "${srcdir}/${pkgname}-${pkgver}/b" + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}/b" + make DESTDIR="${pkgdir}" install +} diff --git a/tea/PKGBUILD b/tea/PKGBUILD deleted file mode 100644 index 7568ca3f..00000000 --- a/tea/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $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=48.0.0 -pkgrel=1 -pkgdesc="A Qt-based text editor for Linux and *BSD with an ultimate small size, providing hundreds of functions" -arch=('i686' 'pentium4' '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) -sha512sums=('774d2b0b62d4e72a17f6725da53d33181c53a9eb1d2b038250068758311e529b683b229279d6d62c516fa3efcfc765b3e9a71e79dfd363c16cd4a7fd5810cf32' - 'f7fee6a36cf5ef60f6bcac36c1a97f104c84b9fbdc7d6269349137c5e107987b87c4f01e22f32568ec6548916cf92696e72352756cfe7747f8744adbeca3d285') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - export LANG="en_US.UTF-8" - export LC_ALL="en_US.UTF-8" - qmake-qt5 PREFIX='/usr' - make PREFIX='/usr' -} - -package(){ - cd "${srcdir}/${pkgname}-${pkgver}" - export LANG="en_US.UTF-8" - export LC_ALL="en_US.UTF-8" - make PREFIX='/usr' 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 deleted file mode 100644 index 818704a2..00000000 --- a/tea/tea.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[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 deleted file mode 100644 index d7904254..00000000 --- a/tea/tea.install +++ /dev/null @@ -1,4 +0,0 @@ -post_upgrade() { - echo "############################################" - echo "for the old GTK branch of TEA install teagtk" -} |