[arch-commits] Commit in tea/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Oct 15 10:53:53 UTC 2014


    Date: Wednesday, October 15, 2014 @ 12:53:53
  Author: spupykin
Revision: 120704

upgpkg: tea 38.0.0-1

upd

Modified:
  tea/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-15 10:53:49 UTC (rev 120703)
+++ PKGBUILD	2014-10-15 10:53:53 UTC (rev 120704)
@@ -6,7 +6,7 @@
 # Contributor: Zsolt Varadi <sysop_xxl at fibermail.hu>
 
 pkgname=tea
-pkgver=37.2.1
+pkgver=38.0.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=('i686' 'x86_64')
@@ -16,13 +16,18 @@
 install=tea.install
 source=(http://semiletov.org/tea/dloads/tea-$pkgver.tar.bz2
         tea.desktop)
-md5sums=('a74c2d18cc2cace9d961d1a215b19e31'
+md5sums=('4c7527843f0a3fd558476babe4ec7f78'
          '377ace3363124f4c086de0babb820761')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+#  sed -i 's|i + j|(int)(i + j)|' textproc.cpp
+  sed -i 's|/usr/local|/usr|g' src.pro
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's|i + j|(int)(i + j)|' textproc.cpp
-  qmake-qt4 PREFIX=/usr/bin
+  qmake-qt4
   make
 }
 



More information about the arch-commits mailing list