OCaml 4.14.0 rebuild
[arch-packages.git] / libgnomecanvas / trunk / PKGBUILD
blobdc5086eb421c3a1cf580741270d224d347207ca7
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libgnomecanvas
4 pkgver=2.30.3
5 pkgrel=4
6 pkgdesc="The GNOME Canvas library"
7 arch=(x86_64)
8 license=('LGPL')
9 depends=('libglade' 'libart-lgpl')
10 makedepends=('pkg-config' 'intltool' 'python')
11 url="http://www.gnome.org"
12 source=(https://download.gnome.org/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2)
13 sha256sums=('859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40')
15 build() {
16   cd "${srcdir}/${pkgname}-${pkgver}"
17   ./configure --prefix=/usr --disable-static \
18       --enable-glade
20   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22   make
25 package() {
26   cd "${srcdir}/${pkgname}-${pkgver}"
27   make DESTDIR="${pkgdir}" install