summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3afd9b1b7d1a887ea8668856bb47cfee5f4de35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Srevin Saju <srevinsaju@sugarlabs.org> 

pkgname=sugar-toolkit-gtk3-git
pkgver=v0.118.9.gbc0f3cc6
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=("git+https://github.com/sugarlabs/sugar-toolkit-gtk3.git")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
sha256sums=('SKIP')


build() {
  cd "$srcdir/${pkgname%-git}"
  # Disable hardened build until fixed upstream
  # https://bugs.sugarlabs.org/ticket/4886
  export CFLAGS=${CFLAGS/ -fno-plt}
  export LDFLAGS=${LDFLAGS/,-z,now}
  ./autogen.sh --prefix=/usr --with-python3
}
package() {
  cd "$srcdir/${pkgname%-git}"
  make DESTDIR="$pkgdir" install
}