Date: Saturday, December 5, 2015 @ 16:21:01 Author: foutrelis Revision: 148462
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: cromfs/repos/community-staging-i686/ cromfs/repos/community-staging-i686/PKGBUILD (from rev 148461, cromfs/trunk/PKGBUILD) cromfs/repos/community-staging-i686/make-generic.patch (from rev 148461, cromfs/trunk/make-generic.patch) cromfs/repos/community-staging-x86_64/ cromfs/repos/community-staging-x86_64/PKGBUILD (from rev 148461, cromfs/trunk/PKGBUILD) cromfs/repos/community-staging-x86_64/make-generic.patch (from rev 148461, cromfs/trunk/make-generic.patch) ---------------------------------------------+ community-staging-i686/PKGBUILD | 35 ++++++++++++++++++++++++++ community-staging-i686/make-generic.patch | 25 ++++++++++++++++++ community-staging-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++ community-staging-x86_64/make-generic.patch | 25 ++++++++++++++++++ 4 files changed, 120 insertions(+) Copied: cromfs/repos/community-staging-i686/PKGBUILD (from rev 148461, cromfs/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-05 15:21:01 UTC (rev 148462) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=cromfs +pkgver=1.5.10.2 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc='Compressed read-only filesystem based on FUSE' +url='http://bisqwit.iki.fi/source/cromfs.html' +license=('GPL') +depends=('fuse' 'lzo' 'gcc-libs') +options=('!makeflags') +source=("http://bisqwit.iki.fi/src/arch/${pkgname}-${pkgver}.tar.gz" + 'make-generic.patch') +sha1sums=('11a337f7b8e5e875a72839cfe3506b5e070c409b' + 'ae51f1d2446df20bcbaef6ac125b1756177725d4') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../make-generic.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -d "${pkgdir}"/usr/{bin,share/doc/cromfs} + install -m755 install/progs/* "${pkgdir}"/usr/bin/ + install -m644 install/docs/* "${pkgdir}"/usr/share/doc/cromfs/ +} Copied: cromfs/repos/community-staging-i686/make-generic.patch (from rev 148461, cromfs/trunk/make-generic.patch) =================================================================== --- community-staging-i686/make-generic.patch (rev 0) +++ community-staging-i686/make-generic.patch 2015-12-05 15:21:01 UTC (rev 148462) @@ -0,0 +1,25 @@ +diff -Naur old/configure new/configure +--- old/configure 2012-04-11 09:33:55.000000000 +0200 ++++ new/configure 2012-04-11 12:05:07.098916602 +0200 +@@ -96,9 +96,9 @@ + fi + } + +-CFLAGS="" +-CPPFLAGS="" +-LDFLAGS="" ++CFLAGS="$CFLAGS" ++CPPFLAGS="$CXXFLAGS" ++LDFLAGS="$LDFLAGS" + OPTIM="" + + do_echo -n "Determining compiler version to use... " +@@ -451,6 +451,8 @@ + OPTIM="$OPTIM_BACKUP $BEST_CPUFEATURE" + fi + ++OPTIM="" ++ + do_echo "Updating Makefile.sets ..." + + if [ "$DEBUG" = "1" ]; then Copied: cromfs/repos/community-staging-x86_64/PKGBUILD (from rev 148461, cromfs/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-05 15:21:01 UTC (rev 148462) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=cromfs +pkgver=1.5.10.2 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc='Compressed read-only filesystem based on FUSE' +url='http://bisqwit.iki.fi/source/cromfs.html' +license=('GPL') +depends=('fuse' 'lzo' 'gcc-libs') +options=('!makeflags') +source=("http://bisqwit.iki.fi/src/arch/${pkgname}-${pkgver}.tar.gz" + 'make-generic.patch') +sha1sums=('11a337f7b8e5e875a72839cfe3506b5e070c409b' + 'ae51f1d2446df20bcbaef6ac125b1756177725d4') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../make-generic.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -d "${pkgdir}"/usr/{bin,share/doc/cromfs} + install -m755 install/progs/* "${pkgdir}"/usr/bin/ + install -m644 install/docs/* "${pkgdir}"/usr/share/doc/cromfs/ +} Copied: cromfs/repos/community-staging-x86_64/make-generic.patch (from rev 148461, cromfs/trunk/make-generic.patch) =================================================================== --- community-staging-x86_64/make-generic.patch (rev 0) +++ community-staging-x86_64/make-generic.patch 2015-12-05 15:21:01 UTC (rev 148462) @@ -0,0 +1,25 @@ +diff -Naur old/configure new/configure +--- old/configure 2012-04-11 09:33:55.000000000 +0200 ++++ new/configure 2012-04-11 12:05:07.098916602 +0200 +@@ -96,9 +96,9 @@ + fi + } + +-CFLAGS="" +-CPPFLAGS="" +-LDFLAGS="" ++CFLAGS="$CFLAGS" ++CPPFLAGS="$CXXFLAGS" ++LDFLAGS="$LDFLAGS" + OPTIM="" + + do_echo -n "Determining compiler version to use... " +@@ -451,6 +451,8 @@ + OPTIM="$OPTIM_BACKUP $BEST_CPUFEATURE" + fi + ++OPTIM="" ++ + do_echo "Updating Makefile.sets ..." + + if [ "$DEBUG" = "1" ]; then