Browse Source

[trunk] -> [extra] 'pangomm-2.48-2.48.1-2' add

master
Dudemanguy 6 months ago
parent
commit
f8c2fd939a
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 12
      pangomm-2.48/trunk/PKGBUILD
  2. 12
      pangomm-2.48/x86_64/extra/PKGBUILD

12
pangomm-2.48/trunk/PKGBUILD

@ -4,13 +4,13 @@
pkgbase=pangomm-2.48
pkgname=(pangomm-2.48 pangomm-2.48-docs)
pkgver=2.48.1
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for Pango"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(pango glibmm-2.68 cairomm-1.16)
makedepends=(git mm-common glibmm-2.68-docs cairomm-1.16-docs meson)
makedepends=(git meson mm-common glibmm-2.68-docs cairomm-1.16-docs)
options=(!emptydirs)
_commit=76246955054101a14a872b8117bbfc0b39791802 # tags/2.48.1^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
@ -35,10 +35,14 @@ check() {
}
package_pangomm-2.48() {
depends+=(libsigc-3.0.so libglibmm-2.68.so libcairomm-1.16.so)
provides=(libpangomm-2.48.so)
meson install -C build --destdir "$pkgdir"
# Split -docs
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_pangomm-2.48-docs() {
@ -46,5 +50,5 @@ package_pangomm-2.48-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

12
pangomm-2.48/x86_64/extra/PKGBUILD

@ -4,13 +4,13 @@
pkgbase=pangomm-2.48
pkgname=(pangomm-2.48 pangomm-2.48-docs)
pkgver=2.48.1
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for Pango"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(pango glibmm-2.68 cairomm-1.16)
makedepends=(git mm-common glibmm-2.68-docs cairomm-1.16-docs meson)
makedepends=(git meson mm-common glibmm-2.68-docs cairomm-1.16-docs)
options=(!emptydirs)
_commit=76246955054101a14a872b8117bbfc0b39791802 # tags/2.48.1^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
@ -35,10 +35,14 @@ check() {
}
package_pangomm-2.48() {
depends+=(libsigc-3.0.so libglibmm-2.68.so libcairomm-1.16.so)
provides=(libpangomm-2.48.so)
meson install -C build --destdir "$pkgdir"
# Split -docs
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_pangomm-2.48-docs() {
@ -46,5 +50,5 @@ package_pangomm-2.48-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save