contrib/gtkmm/Pkgfile
2020-07-12 18:48:11 +00:00

26 lines
540 B
Plaintext

# Description: C++ interface to GTK+.
# URL: https://www.gtkmm.org/en/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: pangomm atkmm xorg-libxdamage
name=gtkmm
version=2.24.5
release=1
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
CXXFLAGS+=' -std=c++11'
./configure \
--prefix=/usr \
--disable-dependency-tracking \
--disable-documentation
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}