updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / simfy / PKGBUILD
blobea5e71a1487c67266fe6fe958f159679189f599b
1 # Maintainer: Patrick Oberdorf <obi12341@googlemail.com> 
2 pkgname=simfy
3 pkgver=1.6.2
4 pkgrel=1
5 pkgdesc="Desktop application for simfy.de"
6 arch=('any')
7 url="http://www.simfy.de"
8 license=('Commercial')
9 depends=('adobe-air-sdk')
10 makedepends=('rpmextract')
11 optdepends=()
12 source=("${pkgname}-${pkgver}.zip::http://static.simfy.de/downloads/desktop/simfy_player.zip"
13         simfy simfy.desktop)
14 md5sums=('6effc2c3fed124192dc874f2aee1653d'
15         '9fe000cbbde815128278c8be014d62ee'
16         'cd548d107652c8b5d18fb03b59e0d361')
18 build() {
19   cd "${srcdir}"
20   rpm2cpio "simfy_${pkgver}.rpm" | bsdtar -xf - -C "${pkgdir}"
21   rm "${pkgdir}/opt/simfy/bin/simfy"
22   rm -r "${pkgdir}/etc/opt"
23   rmdir "${pkgdir}/etc"
24   rm -r "${pkgdir}/usr/share"
25   install -D -m755 simfy "${pkgdir}/usr/bin/simfy"
26   install -D -m644 simfy.desktop "${pkgdir}/usr/share/applications/simfy.desktop"
29 # vim:set ts=2 sw=2 et: