updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / asa / PKGBUILD
blob8f5a88868e4bde9305fa184ca039034a3607b91d
1 # Maintainer: Hubert Bielenia <mailbox.tec@gmail.com>
3 arch=('i686' 'x86_64')
4 pkgname=asa
5 pkgver=0.3.2_20070716
6 pkgrel=2
7 pkgdesc="Cross-platform library for subtitles rendering"
8 url="http://asa.diac24.net"
9 license=('GPL')
10 depends=('fontconfig')
11 makedepends=('pkgconfig' 'libtool' 'autoconf' 'automake' 'gettext')
12 conflicts=()
13 replaces=()
14 backup=()
15 options=('!libtool')
16 source=(http://git.spaceboyz.net/asa.git/snapshots/asa-e4599e545d15ad39934ac8df2e8dae2780fd1ec7.tar.bz2)
17 md5sums=(4d05b121fb53b9ff5e83e78c1d61d0db)
19 build() {
20         cd $startdir/src/asa-0.3.2-e4599e545d15ad39934ac8df2e8dae2780fd1ec7
21         if [ "$CARCH" = "x86_64" ]; then
22                 ./configure --prefix=$startdir/pkg/usr --exec-prefix=$startdir/pkg/usr --libdir=$startdir/pkg/usr/lib --with-included-gettext --enable-optimize
23         else ./configure --prefix=$startdir/pkg/usr --exec-prefix=$startdir/pkg/usr --libdir=$startdir/pkg/usr/lib --with-included-gettext
24         fi
25         make || return 1
26         make install
27         
28         msg "If you want to build CSRI wrapper for libass, libass must be installed first"