summaryrefslogtreecommitdiffstats
path: root/abs/extra/m2vrequantiser/PKGBUILD
blob: e8f7f9fa439e58dd0ba60448b56e2384d08391bb (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
# Maintainer: Michael Hanson <mihanson@linhes.org>
pkgname=m2vrequantiser
_pkgname=M2VRequantiser
pkgver=1.1
pkgrel=1
pkgdesc="Requantize MPEG-2 streams without recompressing."
arch=('i686')
url="http://www.metakine.com/products/dvdremaster/developers.html"
license=('GPLv2')
source=(http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${_pkgname}-v${pkgver}.tar.gz \
        ${pkgname}_makefile.patch)
install=${pkgname}.install

build() {
  cd ${srcdir}/${_pkgname}-v${pkgver}

  patch -Np0 < ${srcdir}/${pkgname}_makefile.patch || return 1

  make || return 1
}

package() {
  cd ${srcdir}/${_pkgname}-v${pkgver}

  make DESTDIR=${pkgdir} install || return 1

  install -D -m644 ${srcdir}/${_pkgname}-v${pkgver}/README.txt \
                   ${pkgdir}/usr/share/doc/${_pkgname}/README
}

# vim:set ts=2 sw=2 et:
md5sums=('be53dccc0cb373bbb9a6741f58c34ba4'
         '69dd99c694d597a9716b532577d581ea')