summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e2877bca69769bfb9449fa119420edda39192bb (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
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>

pkgname=libass-git
pkgver=0.12.0.101.gc7bfc62
pkgrel=1
pkgdesc="A portable library for SSA/ASS subtitles rendering"
arch=('i686' 'x86_64')
url='http://code.google.com/p/libass'
license=('BSD')
depends=('fontconfig' 'enca' 'fribidi')
makedepends=('git' 'yasm')
provides=('libass')
conflicts=('libass')
source=('libass::git://github.com/libass/libass.git')
sha1sums=('SKIP')

pkgver() {
  cd libass
  echo "$(git describe --always | 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"
}