[arch-commits] Commit in sugar-toolkit-gtk3/repos (2 files)
Balló György
bgyorgy at archlinux.org
Mon Mar 9 16:53:09 UTC 2020
Date: Monday, March 9, 2020 @ 16:53:09
Author: bgyorgy
Revision: 593129
archrelease: copy trunk to community-testing-x86_64
Added:
sugar-toolkit-gtk3/repos/community-testing-x86_64/
sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD
(from rev 593128, sugar-toolkit-gtk3/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: sugar-toolkit-gtk3/repos/community-testing-x86_64/PKGBUILD (from rev 593128, sugar-toolkit-gtk3/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-03-09 16:53:09 UTC (rev 593129)
@@ -0,0 +1,33 @@
+# 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"
+}
More information about the arch-commits
mailing list