#Maintainer: Dimitris Tzemos pkgname=sylpheed pkgver=3.7.0 pkgrel=1dj source=("https://sylpheed.sraoss.jp/${pkgname}/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname docs=("ABOUT-NLS" "AUTHORS" "COPYING" "ChangeLog" "README" "TODO") url=http://software.jaos.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "sylpheed (lightweight and user-friendly e-mail client)" "Sylpheed is an e-mail client based on GTK+ GUI toolkit." "It runs on X Window System, and Microsoft Windows." "Sylpheed is a free software distributed under the GNU GPL." "" "Homepage: http://sylpheed.sraoss.jp/en/" ) build() { cd $SRC/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-gpgme \ --disable-static \ -enable-maintainer-mode \ --enable-ldap \ --build=$arch-slackware-linux \ --host=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install-strip DESTDIR=$PKG || return 1 # remove static libs rm $PKG/usr/lib${LIBDIRSUFFIX}/libsylpheed-plugin-0.la $PKG/usr/lib${LIBDIRSUFFIX}/libsylph-0.la || return 1 # Install desktop file and icon (we'll use the largest icon available by # default - that way, it will scale down just fine for users who need a # smaller one, but smaller ones don't always scale larger so well) mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps || return 1 cp sylpheed-128x128.png $PKG/usr/share/icons/hicolor/48x48/apps/sylpheed.png || return 1 sed -i "s/Categories=.*/Categories=GTK;Network;Email;News;/" $PKG/usr/share/applications/sylpheed.desktop || return 1 sed -i "s/.png//" $PKG/usr/share/pixmaps/sylpheed.png || return 1 }