core/pangomm/PKGBUILD
Samir 348d542db8 libpng group: update/rebuild platform
will commit them separately next time... it's just too much work to do separate commits right now
2013-07-27 16:51:03 +00:00

36 lines
937 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgbase=pangomm
pkgname=('pangomm' 'pangomm-docs')
pkgver=2.28.4
pkgrel=4
arch=('x86_64')
license=('LGPL')
makedepends=('pango' 'glibmm' 'glibmm-docs' 'cairomm' 'pkgconfig')
source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.xz")
options=('!libtool')
url="http://gtkmm.sourceforge.net/"
md5sums=('f4fe0905ee56e1ff0205005e61d2a66f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package_pangomm() {
pkgdesc="C++ bindings for pango"
depends=('pango' 'glibmm' 'cairomm')
cd "${srcdir}/${pkgbase}-${pkgver}"
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
make DESTDIR="${pkgdir}" install
}
package_pangomm-docs() {
pkgdesc="Developer documentation for pangomm"
cd "${srcdir}/${pkgbase}-${pkgver}/docs"
make DESTDIR="${pkgdir}" install
}