mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
348d542db8
will commit them separately next time... it's just too much work to do separate commits right now
36 lines
937 B
Bash
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
|
|
}
|