archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libraqm / trunk / PKGBUILD
blob6aaf68bc28cb429e96c9cf080561ef8f4c652093
1 # Maintainer:
2 # Contributor: Daniel Bermond < yahoo-com: danielbermond >
4 pkgname=libraqm
5 pkgver=0.7.2
6 pkgrel=2
7 pkgdesc='A library that encapsulates the logic for complex text layout'
8 arch=(x86_64)
9 url='https://github.com/HOST-Oman/libraqm/'
10 license=(MIT)
11 depends=(freetype2 fribidi)
12 makedepends=(meson gtk-doc)
13 source=(https://github.com/HOST-Oman/libraqm/releases/download/v$pkgver/raqm-$pkgver.tar.xz
14         https://github.com/HOST-Oman/libraqm/commit/819a3e9c.patch)
15 sha256sums=('92e765f180033ef3750832eb6fee4e07de3f99bd3d1eae7cf7e4e390ed2ae8eb'
16             '320a26e63954e760c526b7bb5e2f9526cb76cdd7be2d3ad3e3883b32634e3c99')
18 prepare() {
19   patch -d raqm-$pkgver -p1 < 819a3e9c.patch # Fix meson library version
22 build() {
23   meson build raqm-$pkgver \
24     --prefix=/usr \
25     -D docs=true
26   meson compile -C build
29 package() {
30   meson install -C build --destdir "$pkgdir"
32   install -D -m644 raqm-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE