Browse Source

[trunk] -> [extra] 'pangomm-2.42.1-2' add

master
Dudemanguy 2 years ago
parent
commit
65a25afe73
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 28
      pangomm/repos/extra-x86_64/PKGBUILD
  2. 28
      pangomm/trunk/PKGBUILD

28
pangomm/repos/extra-x86_64/PKGBUILD

@ -3,13 +3,14 @@
pkgbase=pangomm
pkgname=(pangomm pangomm-docs)
pkgver=2.42.1
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for Pango"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(pango glibmm cairomm)
makedepends=(git mm-common glibmm-docs cairomm-docs meson)
options=(!emptydirs)
_commit=7dfc6c3372faaa4a7c492d08f09881b02095145b # tags/2.42.1^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
sha256sums=('SKIP')
@ -19,23 +20,30 @@ pkgver() {
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
}
build() {
mkdir -p build
cd build
arch-meson ../$pkgbase
ninja
arch-meson $pkgbase build -D maintainer-mode=true
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package_pangomm() {
cd build
DESTDIR="$pkgdir" ninja install
mv "$pkgdir"/usr/share "$srcdir"
DESTDIR="$pkgdir" meson install -C build
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
}
package_pangomm-docs() {
pkgdesc+=" (documentation)"
depends=()
options=(!strip)
mkdir -p "$pkgdir"/usr
mv share "$pkgdir"/usr
mv docs/* "$pkgdir"
}

28
pangomm/trunk/PKGBUILD

@ -3,13 +3,14 @@
pkgbase=pangomm
pkgname=(pangomm pangomm-docs)
pkgver=2.42.1
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for Pango"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(pango glibmm cairomm)
makedepends=(git mm-common glibmm-docs cairomm-docs meson)
options=(!emptydirs)
_commit=7dfc6c3372faaa4a7c492d08f09881b02095145b # tags/2.42.1^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
sha256sums=('SKIP')
@ -19,23 +20,30 @@ pkgver() {
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
}
build() {
mkdir -p build
cd build
arch-meson ../$pkgbase
ninja
arch-meson $pkgbase build -D maintainer-mode=true
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package_pangomm() {
cd build
DESTDIR="$pkgdir" ninja install
mv "$pkgdir"/usr/share "$srcdir"
DESTDIR="$pkgdir" meson install -C build
mkdir -p docs/usr/share
mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
}
package_pangomm-docs() {
pkgdesc+=" (documentation)"
depends=()
options=(!strip)
mkdir -p "$pkgdir"/usr
mv share "$pkgdir"/usr
mv docs/* "$pkgdir"
}

Loading…
Cancel
Save