#Maintainer: Thorsten Muehlfelder pkgname=gtkterm pkgver=0.99.5 pkgrel=1tm arch=x86_64 source=("http://www.jls-info.com/julien/linux/gtkterm-$pkgver.tar.gz" "gtkterm.png") url="http://www.jls-info.com/julien/linux/" docs=('AUTHORS' 'ChangeLog' 'COPYING' 'NEWS' 'README' 'TODO') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (a serial port terminal)" "Here is a software I did. It is a clone of the famous Hyperterminal." "But it is much more simple, that is to say, that it can only" "communicate with a serial link and that it does not support all the" "modem protocols." ) build() { cd $startdir/src/${pkgname}-${pkgver} ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make -j3 || return 1 make DESTDIR=$startdir/pkg/ install || return 1 # create .desktop file mkdir -p $startdir/pkg/usr/share/applications/ || return 1 cat << EOF > $startdir/pkg/usr/share/applications/gtkterm.desktop [Desktop Entry] Encoding=UTF-8 Name=Serial port terminal Name[de]=Terminal für den seriellen Port Name[el]=Τερματικό σειριακής θύρας Name[fr]=Terminal pour port série Name[it]=Terminale per porta seriale Comment=Communicate with the serial port Comment[de]=Mit der seriellen Schnittstelle kommunizieren Comment[el]=Επικοινωνήστε μέσω της σειριακής θύρας Comment[fr]=Communique avec le port série Comment[it]=Comunica con la porta seriale Exec=gtkterm Icon=gtkterm Terminal=false Type=Application Categories=GTK;Utility; EOF # copy the icon mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps || return 1 install -m 644 ../gtkterm.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ || return 1 }