OCaml 4.14.0 rebuild
[arch-packages.git] / libglademm / trunk / PKGBUILD
blobad67b5cc63384718bdb74c04a2ec9405d2d66285
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Kritoke <typeolinux@yahoo.com>
4 pkgname=libglademm
5 pkgver=2.6.7
6 pkgrel=5
7 pkgdesc="A C++ wrapper for libglade."
8 arch=('x86_64')
9 url="http://gtkmm.sourceforge.net/"
10 license=('LGPL')
11 depends=('libglade' 'gtkmm')
12 makedepends=('pkgconfig')
13 source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
14 sha256sums=('38543c15acf727434341cc08c2b003d24f36abc22380937707fc2c5c687a2bc3')
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}"
18   CXXFLAGS+=' -std=c++11'
19   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
21   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
23   make
26 package() {
27   cd "${srcdir}/${pkgname}-${pkgver}"
28   make DESTDIR="${pkgdir}" install