updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pspvc / PKGBUILD
bloba5e5aaa05131a0146466396978e4bbee9b0fda04
1 # Maintainer: Gadget3000 <gadget3000@msn.com>
2 pkgname=pspvc
3 pkgver=0.3
4 pkgrel=4
5 pkgdesc="Playstation Portable Video Converter"
6 arch=('x86_64' 'i686')
7 url="http://pspvc.sourceforge.net"
8 license=('GPL2')
9 depends=('faac' 'xvidcore' 'a52dec' 'gtk2' 'sdl' 'imlib2' 'v4l-utils')
10 makedepends=('yasm' 'nasm')
11 source=('http://prdownloads.sourceforge.net/pspvc/pspvc-install-0.3.tar.gz'
12         'install.patch'
13         'grab.patch')
14 md5sums=('7a5c7960c30da92c15426b14102cc3fb'
15          '9da854c157b3f659104ccb174e7e5542'
16          '707f5211482ca775ae071642243d8912')
17 options=(!makeflags)
18 build() {
19 cd $srcdir
20 tar xvzf ${pkgname}-install-${pkgver}.tar.gz
21 echo "Sources extracted"
22 echo "Patching install file"
23 cd ${pkgname}-install-${pkgver}
24 patch install.sh ${srcdir}/install.patch || return 1
25 echo "Install file patched"
26 install -d ${pkgdir}/usr/
27 install -d ${pkgdir}/usr/share/applications/
28 echo "Compiling into package"
29 ./install.sh ${pkgdir}/usr/ ${pkgdir}/usr/share/applications/ || return 1
30 mv ${pkgdir}/usr/doc ${pkgdir}/usr/share/