summaryrefslogtreecommitdiffstats
path: root/abs/core/nuvexport/PKGBUILD
blob: e414b1e7bc0e4a9ab70d2b5cce7d280fdbd4efca (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributor: Paul Mattal <paul@mattal.com>
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=nuvexport
pkgver=20080311
relnum=0.5
pkgrel=1
pkgdesc="Export for MythTV nuv files to other formats (DVD/SVCD/DivX,etc.)"
arch=(i686 x86_64)
url="http://forevermore.net/files/nuvexport"
license=""
depends=(perl perl-dbi 'ffmpeg>=20060920' perl-dbd-mysql perl-date-manip)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://forevermore.net/files/nuvexport/$pkgname-$relnum-0.$pkgver.svn.tar.bz2 $pkgname-ipod-disable.patch)
md5sums=('2d0a99623f06394daf3bf8769536d3cd' 'acd2dad9987e68359ead8b0be5e5797c')

build() {
  cd $startdir/src/$pkgname-$relnum

  sed -i "s|prefix=/usr/local|prefix=$startdir/pkg/usr|g" Makefile || return 1
  sed -i "s|/usr/bin/install|/bin/install|g" Makefile || return 1
  sed -i "s|sysconfdir=/etc|sysconfdir=$startdir/pkg/etc|g" Makefile || return 1

  mkdir $startdir/pkg/usr || return 1
  make install || return 1
  sed -i "s|/tmp/fifodir|/var/tmp/fifodir|g" $startdir/pkg/usr/share/nuvexport/export/*.pm || return 1
}