diff options
author | Christoph Brill | 2021-01-25 13:27:48 +0100 |
---|---|---|
committer | Christoph Brill | 2021-01-25 13:31:19 +0100 |
commit | 43c0c287eafb33127abda974cd5d8a7a0b13ca69 (patch) | |
tree | 091315126404c2333015a4d91392768f7ce66afb | |
download | aur-43c0c287eafb33127abda974cd5d8a7a0b13ca69.tar.gz |
Initial import of pangomm-2.48
Copied from pangomm
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 49 |
3 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b3fda7f272e3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = pangomm248 + pkgdesc = C++ bindings for Pango + pkgver = 2.48.0 + pkgrel = 1 + url = https://www.gtkmm.org/ + arch = x86_64 + license = LGPL + makedepends = git + makedepends = mm-common + makedepends = glibmm268-docs + makedepends = cairomm16-docs + makedepends = meson + depends = pango + depends = glibmm268 + depends = cairomm16 + options = !emptydirs + source = git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=66ad68dad23957a7207668bd1a232b7aa8773f42 + sha256sums = SKIP + +pkgname = pangomm248 + +pkgname = pangomm248-docs + pkgdesc = C++ bindings for Pango (documentation) + depends = + options = !strip + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..529ba0f254d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.zst +/src +/pkg +/pangomm diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9d06a9ebb639 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Christoph Brill <aur@christophbrill.de> + +pkgbase=pangomm248 +pkgname=(pangomm248 pangomm248-docs) +pkgver=2.48.0 +pkgrel=1 +pkgdesc="C++ bindings for Pango" +url="https://www.gtkmm.org/" +arch=(x86_64) +license=(LGPL) +depends=(pango glibmm268 cairomm16) +makedepends=(git mm-common glibmm268-docs cairomm16-docs meson) +options=(!emptydirs) +_commit=66ad68dad23957a7207668bd1a232b7aa8773f42 # tags/2.48.0^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_pangomm248() { + DESTDIR="$pkgdir" meson install -C build + + mkdir -p docs/usr/share + mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share +} + +package_pangomm248-docs() { + pkgdesc+=" (documentation)" + depends=() + options=(!strip) + + mv docs/* "$pkgdir" +} |