diff options
Diffstat (limited to 'abs/extra/m2vrequantiser/PKGBUILD')
-rw-r--r-- | abs/extra/m2vrequantiser/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/m2vrequantiser/PKGBUILD b/abs/extra/m2vrequantiser/PKGBUILD new file mode 100644 index 0000000..e8f7f9f --- /dev/null +++ b/abs/extra/m2vrequantiser/PKGBUILD @@ -0,0 +1,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') |