summaryrefslogtreecommitdiff
path: root/repo/libass/libass.xibuild
blob: 60e3e04d6941f77eaf12bc887333ff472073ed99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="libass"
DESC="Portable library for SSA/ASS subtitle rendering"

MAKEDEPS="make "
DEPS="fontconfig fribidi freetype2 harfbuzz "

PKG_VER=0.15.2
SOURCE="https://github.com/libass/libass/releases/download/$PKG_VER/libass-$PKG_VER.tar.xz"

build () {
    ./configure \
        --prefix=/usr
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}