summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ce9a33624437fd7e1dd7b0aff3a4fd5263f61c9 (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
37
38
39
40
41
42
43
44
45
46
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: Jesse Jaara <gmail.com: jesse.jaara>

pkgname=libass-git
pkgver=0.13.7.25.g9b87484
pkgrel=1
pkgdesc="A portable library for SSA/ASS subtitles rendering. (GIT version)"
arch=('i686' 'x86_64')
url='https://github.com/libass/libass'
license=('custom::ISC')
depends=('fontconfig'
         'fribidi'
         )
makedepends=('git'
             'nasm'
             )
provides=('libass'
          'libass.so'
          )
conflicts=('libass')
source=('git+https://github.com/libass/libass.git')
sha256sums=('SKIP')

pkgver() {
  cd libass
  echo "$(git describe --long --tags | tr - .)"
}

prepare() {
  cd libass
  ./autogen.sh
}

build() {
  cd libass
  ./configure \
    --prefix=/usr

  make
}

package() {
  cd libass
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}