#Packager: Dimitris Tzemos pkgname=libfm-extra pkgver=1.3.2 pkgrel=1dj source=(http://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz) docs=("AUTHORS" "COPYING" "NEWS" "README" "TODO") url=https://sourceforge.net/projects/pcmanfm/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libfm-extra (pcmanfm library)" "LibFM provides file management functions built on top of Glib/GIO," "giving a convenient higher-level API." "This package contains a library and other files required by" "menu-cache-gen libexec of the recent menu-cache >= 1.0.0." "" "Homepage: http://pcmanfm.sourceforge.net/" ) build() { cd $SRC/libfm-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --enable-static=no \ --with-extra-only \ --with-gtk=no \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install-strip DESTDIR=$PKG # Fix the include folder ( cd $PKG/usr/include ; rm -fr libfm ; ln -s libfm-1.0 libfm ) }