summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc1936f1899c5173260c31b0f40258c35dc2978f (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
# Maintainer: LightDot <lightdot -a-t- g m a i l>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=goocanvas2
_pkgname=goocanvas
pkgver=2.0.4
pkgrel=9
pkgdesc="A cairo canvas widget for GTK+, legacy version"
arch=(x86_64)
url="https://wiki.gnome.org/Projects/GooCanvas"
license=('LGPL')
provides=($_pkgname=$pkgver)
depends=('gtk3')
makedepends=('gobject-introspection' 'python-gobject')
source=(https://download.gnome.org/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz)
sha256sums=('c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90')

build() {
  cd $_pkgname-$pkgver
  ./configure --prefix=/usr --disable-python
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
}

package() {
  cd $_pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}