diff options
Diffstat (limited to 'community/avifile/PKGBUILD')
-rw-r--r-- | community/avifile/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/avifile/PKGBUILD b/community/avifile/PKGBUILD new file mode 100644 index 000000000..f468c2a5b --- /dev/null +++ b/community/avifile/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 20207 2010-07-03 15:40:47Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: tobias <tobias@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=avifile +pkgver=0.7.45 +pkgrel=7 +pkgdesc="A library that allows you to read and write compressed AVI files" +arch=('i686' 'x86_64') +depends=('qt' 'sdl' 'freetype2' 'libpng' 'libjpeg' \ + 'libvorbis' 'xvidcore' 'libxxf86dga' 'libxi' 'libxv') +makedepends=('lame' 'qt3') +url="http://avifile.sourceforge.net" +license=('GPL') +source=("http://downloads.sourceforge.net/sourceforge/avifile/$pkgname-0.7-$pkgver.tar.bz2" + 'gcc.patch') +md5sums=('7da94802f120d1b69e04a13170dcd21d' + '588c3ce7bdebc1244f46ba56d8ef8a42') + +build() { + cd $pkgname-0.7-$pkgver + + patch -Np1 <../gcc.patch + + ./configure \ + --prefix=/usr \ + --mandir=$pkgdir/usr/share/man \ + --with-qt-prefix=/opt/qt \ + --with-qt-includes=/opt/qt/include \ + --with-qt-libraries=/opt/qt/lib \ + --enable-oss + + make +} + +package() { + cd $pkgname-0.7-$pkgver + + make prefix=$pkgdir/usr install + + find $pkgdir -name '*.la' -exec rm {} \; +} |