mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
e5d48f25f0
meson check() requires ton of deps, skipped for now lot of issues building with meson, stay with configure when possible
38 lines
848 B
Bash
38 lines
848 B
Bash
|
|
pkgname=mm-common
|
|
pkgver=0.9.11
|
|
pkgrel=1
|
|
pkgdesc="Common build files of the C++ bindings"
|
|
url="http://www.gtkmm.org/"
|
|
arch=(any)
|
|
depends=(graphviz doxygen gtk-doc libsigc++-docs perl-xml-parser)
|
|
makedepends=(libsigc++ git)
|
|
license=(GPL2)
|
|
_commit=85476c318c5c51958c92660de3cf7feea9ac3fd8 # tags/0.9.11^0
|
|
source=("git+https://git.gnome.org/browse/mm-common#commit=$_commit"
|
|
https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag)
|
|
sha256sums=('SKIP'
|
|
'f6c8c74e8293aefaefb4d25fd154d5f537b3bc80e7ceecaa02c5a01836fc09e6')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
cp ../libstdc++.tag doctags
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure --prefix=/usr --disable-network
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|