blob: 6f8f7894c5ed3049843293c19d08dbfcfb96c1d5 (
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
|
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>
# Maintainer: kj_sh604 <406hs_jk@proton.me>
pkgname=libglademm
pkgver=2.6.7
pkgrel=6
pkgdesc="A C++ wrapper for libglade."
arch=('x86_64')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
depends=('libglade' 'gtkmm')
makedepends=('pkgconfig')
source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('38543c15acf727434341cc08c2b003d24f36abc22380937707fc2c5c687a2bc3')
build() {
cd ${pkgname}-${pkgver}
CXXFLAGS+=' -std=c++11'
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|