From 98db1752e2398969ac48a63e838c2e9288c9e8eb Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Wed, 17 Apr 2024 12:06:36 +0800 Subject: [PATCH] cairo 1.18.0-1 --- PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ecce952 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=cairo +pkgver=1.18.0 +pkgrel=1 +pkgdesc="2D graphics library with support for multiple output devices" +arch=('x86_64') +url="https://cairographics.org" +license=('LGPL-2.1-only OR MPL-1.1') +depends=('fontconfig' 'freetype2' 'glib2' 'libpng' 'libx11' 'libxcb' 'libxext' 'libxrender' 'lzo' 'pixman' 'zlib') +makedepends=('meson') +source=(https://www.cairographics.org/releases/${pkgname}-${pkgver}.tar.xz) +sha256sums=(SKIP) + +build() { + cd ${pkgname}-${pkgver} + + meson setup build --prefix=/usr --buildtype=release + + meson compile -C build +} + +package() { + cd ${pkgname}-${pkgver} + + meson install -C build --destdir ${pkgdir} +}