1 # Contributor: 3ED <kas1987@o2.pl>
5 true && pkgname=(poc mp3cue mp3cut mp3length pob-2250 pob-3119 pob-fec poc-2250 poc-3119 poc-fec poc-http pogg-http)
12 makedepends=('flex' 'bison')
13 url="http://www.bl0rg.net/software/poc/"
14 source=("http://www.bl0rg.net/software/poc/$pkgbase-$pkgver.tar.gz"
16 sha256sums=('a8f8be5281b80f9bb1dd0d330ec59e608d557351f6e6ad5b3d14932f7b952d29'
17 '1f02a2d2db9bc2d00beeef4099df3276bc80e603c5b5aa45969d8d25f919c2b4')
19 DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u')
23 cd "$srcdir/$pkgbase-$pkgver"
25 [ "$CARCH" = "x86_64" ] && patch -Np0 < "$srcdir/patch-x86_64.diff"
32 pkgdesc="cut a MP3 file according to a CUE file"
33 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
34 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
35 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
36 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
37 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
41 pkgdesc="cut and assemble MP3 files"
42 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
43 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
44 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
45 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
46 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
50 pkgdesc="show the length of a MP3 file"
51 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
52 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
53 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
54 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
55 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
59 pkgdesc="receive RTP RFC 2250 MP3 streams"
60 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
61 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
62 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
63 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
64 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
68 pkgdesc="receive RTP RFC 3119 MP3 streams"
69 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
70 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
71 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
72 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
73 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
77 pkgdesc="receive FEC MP3 streams"
78 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
79 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
80 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
81 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
82 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
86 pkgdesc="send RTP RFC 2250 MP3 streams"
87 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
88 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
89 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
90 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}-ploss" "$pkgdir/usr/bin"
91 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
92 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
96 pkgdesc="send RTP RFC 3119 MP3 streams"
97 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
98 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
99 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
100 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}-ploss" "$pkgdir/usr/bin"
101 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
102 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
106 pkgdesc="send FEC MP3 streams"
107 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
108 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
109 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
110 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}-ploss" "$pkgdir/usr/bin"
111 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
112 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
116 pkgdesc="send HTTP MP3 streams"
117 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
118 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
119 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
120 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
121 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
123 package_pogg-http() {
125 pkgdesc="send HTTP OGG streams"
126 install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
127 install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
128 install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
129 install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
130 install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
134 #matapackage for backward and aur compatibility
135 depends=(mp3cue mp3cut mp3length pob-2250 pob-3119 pob-fec poc-2250 poc-3119 poc-fec poc-http pogg-http)
136 pkgdesc="a mp3 command-line editing and streaming tools (metapackage)"
141 pkgdesc="poc includes mp3cue, a mp3 CUE cutter, and mp3cut, a mp3 command-line editing and streaming tool"