1 # Maintainer: Aliaksiej ArtamonaĆ <aliaksiej.artamonau@gmail.com>
6 pkgdesc='Cross-platform command line tools for working with MPEG data'
9 url='http://code.google.com/p/tstools/'
12 makedepends=('python2' 'docutils')
14 source=(http://tstools.googlecode.com/files/tstools-1_11.tgz)
15 md5sums=('2650a09f828b19bb22829a7828f13cde')
18 cd "${srcdir}/${pkgname}-${pkgver}"
20 # TODO: parallel build causes linker errors; resolve
21 make -j1 all || return 1
24 python2 build_html.py || return 1
26 install -d -m755 "${pkgdir}/usr/bin" || return 1
27 install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}" || return 1
29 cd "${srcdir}/${pkgname}-${pkgver}/bin"
30 install -m755 -t "${pkgdir}/usr/bin" * || return 1
32 cd "${srcdir}/${pkgname}-${pkgver}/docs"
33 install -m644 -t "${pkgdir}/usr/share/doc/${pkgname}" *.html || return 1