updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / gizmo5 / PKGBUILD
blob2aaffba4a7941da79f97f4ea27f13d7e2aecee94
1 # Gizmo5: Installer: Arch
2 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
4 shortname=gizmo
5 pkgname=${shortname}5
6 oldname=${shortname}-project
7 pkgver=3.1.0.79
8 pkgrel=1
9 libname=libsipphoneapi
10 libver=1.7.07.73
11 pkgdesc="A free VoIP phone for your computer that makes calling as easy as instant messenging"
12 arch=("i686")
13 url="http://${pkgname}.com/"
14 license=("custom")
15 depends=("gcc-libs" "alsa-lib" "gconf" "libxss" "expat" "pango" "orbit2")
16 conflicts=("${shortname}")
17 replaces=("${shortname}")
18 options=(!emptydirs)
20 source=(http://download.${pkgname}.com/GizmoDownload/${oldname}-${pkgver}-1-libstdc++6.tar.gz)
21 sha1sums=('e7f0c172d3870f1146d685af047743ad4e64e960')
23 build() {
24         cd ${srcdir}/${oldname}-${pkgver}
26         # Directories
27         install -d ${pkgdir}/usr/share/${libname}/
29         # Application
30         cp -r share/ ${pkgdir}/usr/
32         # Libraries
33         install -D -m 755 ${libname}.so.${libver} ${pkgdir}/usr/lib/${libname}.so.${libver}
35         # Binaries
36         install -D -m 755 ${shortname} ${pkgdir}/usr/bin/${shortname}
38         # License
39         install -D EULA.rtf ${pkgdir}/usr/share/licenses/${pkgname}/EULA.rtf || return 1
41         # Desktop
42         install -D ${startdir}/extra/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
43         install -D share/${shortname}/pixmaps/icons/${shortname}-icon-48.png ${pkgdir}/usr/share/pixmaps/${shortname}-icon-48.png
44         #install -D share/${shortname}/pixmaps/${shortname}/regular/${shortname}-logo.png ${pkgdir}/usr/share/pixmaps/
45         install -D share/${shortname}/sounds/*.wav ${pkgdir}/usr/share/${libname}/