1 # Contributor: Sebastian Wolf <fatmike303 at gmail dot com>
6 pkgdesc='A graphical filemanager for D64 files (Commodore 64 and others)'
8 url=http://droid64.sourceforge.net
10 depends=('java-runtime' 'vlc' 'mplayer')
13 http://prdownloads.sourceforge.net/${pkgname}/${_pkgname}-${pkgver}.tar.gz?download
14 http://${pkgname}.sourceforge.net/data/${_pkgname}_icons.tar.gz
16 md5sums=(fb610f3f69ec6a42e8f690739d3d4c2a 192bdd2f5ba6b1a1fcb197eb435da958)
19 mkdir -p ${pkgdir}/opt/${pkgname}
20 cd ${pkgdir}/opt/${pkgname}
21 cp -r ${srcdir}/${_pkgname}-${pkgver}/* .
23 mkdir -p ${pkgdir}/usr/bin/
24 cat > ${pkgdir}/usr/bin/${pkgname} << EOF
27 java -jar ${_pkgname}-${pkgver}.jar
29 chmod +x ${pkgdir}/usr/bin/${pkgname}
31 install -Dm644 ${srcdir}/${_pkgname}_icons/${_pkgname}_Icon.xpm ${startdir}/pkg/usr/share/pixmaps/${pkgname}.xpm
33 install -Dm644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop