summaryrefslogtreecommitdiffstats
path: root/abs/extra/libraqm/PKGBUILD
blob: 6cc03b9ff244efbf2535f744178b1b69825196de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer:
# Contributor: Daniel Bermond < yahoo-com: danielbermond >

pkgname=libraqm
pkgver=0.4.0
pkgrel=1
pkgdesc='A library that encapsulates the logic for complex text layout'
arch=(x86_64)
url='https://github.com/HOST-Oman/libraqm/'
license=(MIT)
depends=(freetype2 fribidi)
makedepends=(gtk-doc)
source=(https://github.com/HOST-Oman/libraqm/releases/download/v$pkgver/raqm-$pkgver.tar.gz)
sha256sums=('f90f79c4d055453d692d45255843589e502d10c83665715c1fc0ed9a1fd0d522')

build() {
    cd raqm-$pkgver
    
    ./configure \
        --prefix=/usr \
        --enable-static=no \
        --enable-shared=yes \
        --enable-fast-install=yes \
        --enable-gtk-doc=no \
        --enable-gtk-doc-html=no \
        --enable-gtk-doc-pdf=no
    make
}

package() {
    cd raqm-$pkgver
    
    make DESTDIR="$pkgdir" install
    
    install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}