67 lines
1.5 KiB
Bash
67 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
#pkgbase=pango
|
|
pkgname=(pango) # pango-docs)
|
|
pkgver=1.52.0
|
|
pkgrel=01
|
|
epoch=1
|
|
pkgdesc="A library for layout and rendering of text"
|
|
url="https://www.pango.org/"
|
|
depends=(cairo fribidi harfbuzz libthai libxft)
|
|
makedepends=(gi-docgen git gobject-introspection help2man meson)
|
|
_commit=fed7be510f58ed848f23f653f3fba45f44eb3b9c # tags/1.52.0^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
|
|
|
|
pkgver() {
|
|
cd pango
|
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd pango
|
|
}
|
|
|
|
build() {
|
|
local meson_options=(
|
|
-D gtk_doc=true
|
|
)
|
|
|
|
arch-meson pango build "${meson_options[@]}"
|
|
meson compile -C build
|
|
}
|
|
|
|
# not running checks: validation breaks when deps
|
|
# (especially harfbuzz) don't match upstream CI
|
|
|
|
package_pango() {
|
|
provides=(libpango{,cairo,ft2,xft}-1.0.so)
|
|
|
|
meson install -C build --destdir "$pkgdir"
|
|
|
|
mkdir -p doc/usr/share
|
|
mv {"$pkgdir",doc}/usr/share/doc
|
|
}
|
|
|
|
#package_pango-docs() {
|
|
# pkgdesc+=" (documentation)"
|
|
# depends=()
|
|
#
|
|
# mv doc/* "$pkgdir"
|
|
#}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(LGPL-2.1-or-later)
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## 455115077bf4e43d4689f45290485832e9367debea76c750ac4a54c710824a17 pango-1_1.52.0-01-x86_64.pkg.tar.lz
|
|
|