[arch-commits] Commit in sugar-toolkit-gtk3/repos/community-testing-x86_64 (2 files)

Balló György bgyorgy at archlinux.org
Sun Mar 15 18:59:07 UTC 2020


    Date: Sunday, March 15, 2020 @ 18:59:06
  Author: bgyorgy
Revision: 598422

archrelease: copy trunk to community-testing-x86_64

Added:
  sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD
    (from rev 598421, sugar-toolkit-gtk3/trunk/PKGBUILD)
Deleted:
  sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 44 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-15 18:59:03 UTC (rev 598421)
+++ PKGBUILD	2020-03-15 18:59:06 UTC (rev 598422)
@@ -1,33 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=sugar-toolkit-gtk3
-pkgver=0.116
-pkgrel=1
-pkgdesc="Sugar GTK library"
-arch=('x86_64')
-url="https://sugarlabs.org/"
-license=('LGPL')
-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=('745a360577efceb10f57ca4cbad5f9ec61f7ed6cc381eeb72422bbd7455b770b')
-
-build() {
-  cd $pkgname-$pkgver
-  # Disable hardened build until fixed upstream
-  # https://bugs.sugarlabs.org/ticket/4886
-  export CFLAGS=${CFLAGS/ -fno-plt}
-  export LDFLAGS=${LDFLAGS/,-z,now}
-
-  ./configure --prefix=/usr
-  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make -j1
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  rm "$pkgdir/usr/bin/sugar-activity"
-}

Copied: sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD (from rev 598421, sugar-toolkit-gtk3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-15 18:59:06 UTC (rev 598422)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-toolkit-gtk3
+pkgver=0.116+16+g72d36cc9
+pkgrel=1
+pkgdesc="Sugar GTK library"
+arch=('x86_64')
+url="https://sugarlabs.org/"
+license=('LGPL')
+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' git gnome-common)
+optdepends=('webkit2gtk: run sugar-activity-web')
+_commit=72d36cc964de54403af5257c2b2da81c1e83326e  # master
+source=("git+https://github.com/sugarlabs/sugar-toolkit-gtk3.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  # Disable hardened build until fixed upstream
+  # https://bugs.sugarlabs.org/ticket/4886
+  export CFLAGS=${CFLAGS/ -fno-plt}
+  export LDFLAGS=${LDFLAGS/,-z,now}
+
+  ./configure --prefix=/usr
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make -j1
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  rm "$pkgdir/usr/bin/sugar-activity"
+}



More information about the arch-commits mailing list