summaryrefslogtreecommitdiff
path: root/repo/libass/libass.xibuild
blob: 76d7b8362c4e43898aee8f56967366508139d2ab (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.16.0
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
}