cairo 1.18.0-1

This commit is contained in:
xhaa123 2024-04-17 12:06:36 +08:00
commit 98db1752e2

31
PKGBUILD Normal file
View File

@ -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 <future_linux@163.com>
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}
}