blob: 92d24a157abcb7d5c2c94a61d5ee21c544fceba8 (
plain) (
blame)
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
|
# Contributor: kj_sh604 <43.splash@gmail.com>
pkgname=libglademm
pkgver=2.6.7
pkgrel=604
pkgdesc="A C++ wrapper for libglade."
arch=('x86_64')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
depends=('libglade' 'gtkmm')
makedepends=('pkgconfig')
# use this source when PKGBUILD breaks in the future:
# source=(https://aedrielkylejavier.me/assets/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
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
}
|