updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / tsmuxer / PKGBUILD
blob3dcb341a6294e1b89a0c60e39626806a68437ae2
1 # Contributor: Benjamin Bukowski <benjamin.bukowski@gmail.com>
2 pkgname=tsmuxer
3 pkgver=1.10.6
4 pkgrel=12
5 pkgdesc='Transport Stream muxer - without its gui'
6 arch=('i686' 'x86_64')
7 url="http://www.smlabs.net/tsmuxer_en.html"
8 license=('custom')
9 options=('!strip')
11 depends=('bash')
12 if [ "$CARCH" == "i686" ]; then
13         depends=(${depends} 'gcc-libs' 'freetype2')
14 else
15         depends=(${depends} 'lib32-gcc-libs' 'lib32-freetype2');
18 source=("tsMuxeR_shared_${pkgver}.tar.gz")
19 md5sums=('1f2e2a609d1a2dc8808ad3b3641733f7')
20 install="$pkgname.install"
22 build() {
23         cd $srcdir/
24         install -D -m644 licence.txt $pkgdir/opt/tsMuxeR/LICENSE
25         install -D -m755 tsMuxeR $pkgdir/opt/tsMuxeR/tsMuxeR
26         install -m755 -d $pkgdir/usr/bin
27         install -m755 -d $pkgdir/usr/share/licenses/$pkgname
29         ln -s /opt/tsMuxeR/tsMuxeR $pkgdir/usr/bin/tsMuxeR
30         ln -s /opt/tsMuxeR/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE