8 pkgdesc="goText++ Desk! is a free software to send free SMS (and MMS)"
10 url="http://www.gotext.org/wiki/goText_pp_Desk"
13 makedepends=('deb2targz')
14 if [ "${CARCH}" = 'x86_64' ]; then
16 source=("http://sourceforge.net/projects/gotext/files/goText%2B%2B%20Desk%21/0.9.3%20beta/${_pkgname}_${pkgver}_amd64.deb")
17 noextract=("${_pkgname}_${pkgver}_amd64.deb")
18 md5sums=('c4d931abe9fe9a031a0da499b1e3ac5d')
19 elif [ "${CARCH}" = 'i686' ]; then
21 source=("https://sourceforge.net/projects/gotext/files/goText%2B%2B%20Desk%21/0.9.3%20beta/${_pkgname}_${pkgver}_i386.deb")
22 noextract=("${_pkgname}_${pkgver}_i386.deb")
23 md5sums=('09237d6140702be719b412a6fc5532d3')
27 if [ "${CARCH}" = 'x86_64' ]; then
28 FILE_BASE_NAME="${_pkgname}_${pkgver}_amd64"
29 elif [ "${CARCH}" = 'i686' ]; then
30 FILE_BASE_NAME="${_pkgname}_${pkgver}_i386"
32 deb2targz $FILE_BASE_NAME.deb
33 tar -zxf $FILE_BASE_NAME.tar.gz
34 cp -r usr ${startdir}/pkg
35 mkdir -p ${startdir}/pkg/usr/bin/
36 ln -s /usr/share/goText++Desk/goText_pp_Desk ${startdir}/pkg/usr/bin/goText_pp_Desk