1 # Maintainer : Luca Bennati <lucak3 AT gmail DOT com>
6 pkgdesc="Java based GIF maker"
8 url="http://www.onyxbits.de/giftedmotion"
10 depends=('java-environment' 'hicolor-icon-theme')
11 install=giftedmotion.install
12 source=("http://www.onyxbits.de/sites/default/files/upload_cck/node/525/${pkgname}-${pkgver}.jar"
15 noextract=("${pkgname}-${pkgver}.jar")
16 md5sums=('e0e58eeb2cf3b857121c6bdc06083377'
17 'cd3dfdf1e493228521aa67e737ca67af'
18 'ac8c60825a412f25ed579af5f25993aa')
21 bsdtar -xf "${pkgname}-${pkgver}.jar"
25 install -Dm644 "${srcdir}/${pkgname}-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
26 install -DTm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
27 install -DTm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
28 for dim in "32x32" "48x48" "64x64" "96x96"; do
29 install -DTm644 "${srcdir}/resources/logo-${dim}.png" "${pkgdir}/usr/share/icons/hicolor/${dim}/${pkgname}.png"
31 install -DTm644 "${srcdir}/resources/logo.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"