1 # Maintener: Deather <deather.jeuxlinux@gmail.com>
6 pkgdesc="A PHP library which allow read song tag (OGG/MP3)"
8 url="http://getid3.sourceforge.net/"
10 depends=('php>=5.0.5', 'vorbis-tools')
11 source=('http://sourceforge.net/projects/getid3/files/getID3%28%29%201.x/1.9.3/getid3-1.9.3-20111213.zip')
12 md5sums=('00990e23f4035c29974d025cc5f3eeb7')
15 mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
17 rm -rf "${srcdir}/getid3/!delete any module you don't like, but check dependencies.txt"
19 cp -r ${srcdir}/getid3 ${pkgdir}/usr/share/${pkgname}
22 cp -r ${srcdir}/changelog.txt ${srcdir}/dependencies.txt ${srcdir}/readme.txt ${srcdir}/structure.txt ${pkgdir}/usr/share/doc/${pkgname}
23 cp -r ${srcdir}/demos ${pkgdir}/usr/share/doc/${pkgname}/examples
26 install -D -m644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licences/${pkgname}/LICENSE"
27 install -D -m644 "${srcdir}/license.commercial.txt" "${pkgdir}/usr/share/licences/${pkgname}/LICENSE.COMMERCIAL"
29 msg "Don't forget to add the path '/usr/share/php-getid3' to 'open_basedir' and 'include_path' in the php.ini file."