Browse Source

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

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

50
pangomm-2.48/trunk/PKGBUILD

@ -0,0 +1,50 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=pangomm-2.48
pkgname=(pangomm-2.48 pangomm-2.48-docs)
pkgver=2.48.1
pkgrel=1
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)
options=(!emptydirs)
_commit=76246955054101a14a872b8117bbfc0b39791802 # tags/2.48.1^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd pangomm
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd pangomm
}
build() {
arch-meson pangomm build -D maintainer-mode=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package_pangomm-2.48() {
meson install -C build --destdir "$pkgdir"
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
}
package_pangomm-2.48-docs() {
pkgdesc+=" (documentation)"
depends=()
options=(!strip)
mv docs/* "$pkgdir"
}

50
pangomm-2.48/x86_64/extra/PKGBUILD

@ -0,0 +1,50 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=pangomm-2.48
pkgname=(pangomm-2.48 pangomm-2.48-docs)
pkgver=2.48.1
pkgrel=1
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)
options=(!emptydirs)
_commit=76246955054101a14a872b8117bbfc0b39791802 # tags/2.48.1^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd pangomm
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd pangomm
}
build() {
arch-meson pangomm build -D maintainer-mode=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package_pangomm-2.48() {
meson install -C build --destdir "$pkgdir"
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
}
package_pangomm-2.48-docs() {
pkgdesc+=" (documentation)"
depends=()
options=(!strip)
mv docs/* "$pkgdir"
}
Loading…
Cancel
Save