updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / giftedmotion / PKGBUILD
blobdbc12c6ae17b771f2ca166f8514f6616df1f505d
1 # Maintainer : Luca Bennati <lucak3 AT gmail DOT com>
3 pkgname=giftedmotion
4 pkgver=1.21
5 pkgrel=1
6 pkgdesc="Java based GIF maker"
7 arch=('any')
8 url="http://www.onyxbits.de/giftedmotion"
9 license=('GPL2')
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"
13                 giftedmotion
14                 giftedmotion.desktop)
15 noextract=("${pkgname}-${pkgver}.jar")
16 md5sums=('e0e58eeb2cf3b857121c6bdc06083377'
17          'cd3dfdf1e493228521aa67e737ca67af'
18          'ac8c60825a412f25ed579af5f25993aa')
20 build() {
21   bsdtar -xf "${pkgname}-${pkgver}.jar"
24 package() {
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"
30   done
31   install -DTm644 "${srcdir}/resources/logo.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"