1 # Maintainer: jsteel <jsteel at vorx dot com>
2 # Contributor: Chris Schwaab christopher.schwaab gmail
3 # Contributor: Roger Braun
4 # Contributor: twa022 <twa022@gmail.com>
5 # Contributor: jwbwater <jwbwater@gmail.com>
10 pkgdesc="The Amazon MP3 downloader"
11 url="http://www.amazon.com/gp/dmusic/help/amd.html"
14 depends=('bash' 'libxdamage' 'curl' 'pango' 'gtk2' 'openssl' 'gtkmm' 'pangomm' 'cairomm' 'glibmm' 'libsigc++' 'bzip2')
15 source=('http://mirrors.kernel.org/ubuntu/pool/universe/b/boost/libboost-date-time1.34.1_1.34.1-4ubuntu3_i386.deb' \
16 'http://mirrors.kernel.org/ubuntu/pool/universe/b/boost/libboost-iostreams1.34.1_1.34.1-4ubuntu3_i386.deb' \
17 'http://mirrors.kernel.org/ubuntu/pool/universe/b/boost/libboost-signals1.34.1_1.34.1-4ubuntu3_i386.deb' \
18 'http://mirrors.kernel.org/ubuntu/pool/universe/b/boost/libboost-thread1.34.1_1.34.1-4ubuntu3_i386.deb' \
19 'http://mirrors.kernel.org/ubuntu/pool/universe/b/boost/libboost-filesystem1.34.1_1.34.1-4ubuntu3_i386.deb' \
20 'http://mirrors.kernel.org/ubuntu/pool/universe/b/boost/libboost-regex1.34.1_1.34.1-4ubuntu3_i386.deb' \
21 http://amazonm-002.vo.llnwd.net/u/d1/clients/en_US/${pkgver}/${pkgname}_${pkgver}~ibex_i386.deb)
22 md5sums=('8a92592ff53bfd88e4ef30702bc3a5c0'
23 'ab12bd95053d2dfaf5384b8fec0ef928'
24 '1c1e73957bb3df7991b8ba625e42dc3e'
25 '718b975d711d3e3d7d7288a1ca73fae4'
26 'c60ae2ad58a8698806ea473e618d2332'
27 '23340c2755feece89e4757f076f4efe7'
28 'e246ab57f9e8bce827ab39341b241fd4')
34 ar xv "$i" control.tar.gz data.tar.gz
35 mv control.tar.gz "$i-control.tar.gz"
36 mv data.tar.gz "$i-data.tar.gz"
43 for i in "${srcdir}"/*.tar.gz; do
47 sed -i 's/0.9.8/1.0.0/' "$pkgdir/usr/bin/amazonmp3"
49 ln -s /usr/lib/libicui18n.so "${pkgdir}/usr/lib/libicui18n.so.38"
50 ln -s /usr/lib/libicuuc.so "${pkgdir}/usr/lib/libicuuc.so.38"
52 rm "${pkgdir}"/{control,md5sums,postinst,postrm}