5 pkgdesc="A gtk+ based serial port communication program"
7 url="https://fedorahosted.org/gtkterm/"
9 depends=('gtk2>=2.6' 'vte>=0.20')
10 makedepends=('git' 'intltool' 'gnome-common')
14 source=('configure.ac.patch'
16 md5sums=('d1b4c53570ff279b5f60037c820c035e'
17 '6034f4ece88754c0668953aae48e7bfd')
19 _gitroot="http://git.fedorahosted.org/git/gtkterm.git"
24 msg "Connecting to GIT server..."
26 if [ -d "${_gitname}" ] ; then
27 cd "${_gitname}" && git fetch
28 msg "The local files are updated."
30 git clone --mirror "${_gitroot}" "${_gitname}"
33 msg "GIT checkout done or server timeout."
37 if [ -d "${_gitname}-build" ]; then
38 rm -rf "${_gitname}-build"
41 git clone "${_gitname}" "${_gitname}-build"
43 cd "${_gitname}-build"
45 patch -p1 -i ../configure.ac.patch
48 msg "Starting configure..."
49 ./autogen.sh --prefix=/usr --mandir=/usr/share/man
50 msg "Starting make..."
55 cd "${srcdir}/${_gitname}-build"
56 make DESTDIR="${pkgdir}" install
59 rm -rf "${_gitname}-build"