[arch-commits] Commit in sugar-toolkit-gtk3/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Mar 9 16:53:06 UTC 2020


    Date: Monday, March 9, 2020 @ 16:53:06
  Author: bgyorgy
Revision: 593128

upgpkg: sugar-toolkit-gtk3 0.116-1: Update to new version

Modified:
  sugar-toolkit-gtk3/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 16:47:10 UTC (rev 593127)
+++ PKGBUILD	2020-03-09 16:53:06 UTC (rev 593128)
@@ -1,27 +1,19 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=sugar-toolkit-gtk3
-pkgver=0.114
-pkgrel=2
+pkgver=0.116
+pkgrel=1
 pkgdesc="Sugar GTK library"
 arch=('x86_64')
 url="https://sugarlabs.org/"
 license=('LGPL')
-depends=('alsa-lib' 'gtk3' 'libsm' 'python2-cairo' 'python2-dateutil' 'python2-decorator'
-         'python2-six' 'python2-telepathy' 'sugar-artwork' 'sugar-datastore'
-         'telepathy-mission-control' 'unzip')
+depends=('alsa-lib' 'gtk3' 'libsm' 'python-cairo' 'python-dateutil' 'python-decorator'
+         'python-six' 'sugar-artwork' 'sugar-datastore' 'telepathy-mission-control' 'unzip')
 makedepends=('intltool' 'gobject-introspection')
 optdepends=('webkit2gtk: run sugar-activity-web')
 source=(https://download.sugarlabs.org/sources/sucrose/glucose/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('4b8ca467b85b6273fdb3ae86b1afa5071f4c0c6e11a27e9166a394620c2c77e5')
+sha256sums=('745a360577efceb10f57ca4cbad5f9ec61f7ed6cc381eeb72422bbd7455b770b')
 
-prepare() {
-  cd $pkgname-$pkgver
-  # Don't use incomplete python3 port
-  sed -i 's/exec sugar-activity3/exec sugar-activity/' bin/sugar-activity-web
-  sed -i '/dist_bin_SCRIPTS/ s/ sugar-activity3//' bin/Makefile.{am,in}
-}
-
 build() {
   cd $pkgname-$pkgver
   # Disable hardened build until fixed upstream
@@ -29,7 +21,7 @@
   export CFLAGS=${CFLAGS/ -fno-plt}
   export LDFLAGS=${LDFLAGS/,-z,now}
 
-  ./configure --prefix=/usr PYTHON=python2
+  ./configure --prefix=/usr
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make -j1
 }
@@ -37,4 +29,5 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
+  rm "$pkgdir/usr/bin/sugar-activity"
 }



More information about the arch-commits mailing list