Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=25a3947966d2bf5ced6a7601500aa869bbf093be
commit 25a3947966d2bf5ced6a7601500aa869bbf093be Author: Devil505 <[email protected]> Date: Tue Oct 4 10:08:16 2011 +0200 bamf-compat-0.2.104-1-i686 * new package diff --git a/source/ayatana-extra/bamf-compat/FrugalBuild b/source/ayatana-extra/bamf-compat/FrugalBuild new file mode 100644 index 0000000..5978032 --- /dev/null +++ b/source/ayatana-extra/bamf-compat/FrugalBuild @@ -0,0 +1,53 @@ +# Compiling Time: 0.10 SBU +# Maintainer: Devil505 <[email protected]> + +pkgname=bamf-compat +pkgver=0.2.104 +pkgrel=1 +pkgdesc="BAMF Application Matching Framework. (for compatibility)" +depends=('dbus-glib' 'libwnck' 'libgtop' 'libuuid') +makedpkg=('dpkg') +groups=('ayatana-extra') +archs=('i686' 'x86_64') +_F_launchpad_dirname="bamf" +_F_launchpad_name="bamf" +_F_launchpad_branch="0.2" +Finclude launchpad +_filearch=i386 && _soarch=i386 +[ "$CARCH" = "x86_64" ] && _filearch=amd64 && _soarch=x86_64 +source=(http://archive.ubuntu.com/ubuntu/pool/main/b/bamf/libbamf-dev_$pkgver-0ubuntu1_$_filearch.deb \ + http://archive.ubuntu.com/ubuntu/pool/main/b/bamf/libbamf0_$pkgver-0ubuntu1_$_filearch.deb) +sha1sums=('240f0449711cc743e9a18904cceb818ff35da83b' \ + 'e7b5acb093a8683de1ab048e074295e5b10bacc5') + +build() +{ + # --- libbamf-dev --- + cd "${srcdir}" + rm libbamf-dev_*.deb 2>/dev/null || true + _url=$(grep /libbamf-dev_0.*${_filearch}.deb tmp.txt | tail -1) + wget ${_url} + rm data.tar.gz 2>/dev/null || true + bsdtar -xf $(basename ${_url}) data.tar.gz + bsdtar -xf data.tar.gz -C "$Fdestdir" || true + cd "$Fdestdir"/usr/lib + mv ${_soarch}-linux-gnu/pkgconfig . + rm -r ${_soarch}-linux-gnu + cd "$Fdestdir"/usr/include/libbamf + mv libbamf/*.h . + rm -r libbamf + + # --- libbamf0 --- + cd "${srcdir}" + rm libbamf0_*.deb 2>/dev/null || true + _url=$(grep /libbamf0_0.*${_filearch}.deb tmp.txt | tail -1) + wget ${_url} + rm data.tar.gz 2>/dev/null || true + bsdtar -xf $(basename ${_url}) data.tar.gz + rm -r usr 2>/dev/null || true + bsdtar -xf data.tar.gz || true + install -Dm755 $(find usr/lib -type f) "$Fdestdir"/usr/lib/libbamf.so.0.0.0 + cd "$Fdestdir"/usr/lib + ln -s libbamf.so.0.0.0 libbamf.so.0 + ln -s libbamf.so.0.0.0 libbamf.so +} _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
