Date: Saturday, October 29, 2011 @ 22:04:19 Author: bisson Revision: 141362
archrelease: copy trunk to testing-i686, testing-x86_64 Added: p7zip/repos/testing-i686/ p7zip/repos/testing-i686/7zFM.desktop (from rev 141361, p7zip/trunk/7zFM.desktop) p7zip/repos/testing-i686/PKGBUILD (from rev 141361, p7zip/trunk/PKGBUILD) p7zip/repos/testing-i686/install (from rev 141361, p7zip/trunk/install) p7zip/repos/testing-x86_64/ p7zip/repos/testing-x86_64/7zFM.desktop (from rev 141361, p7zip/trunk/7zFM.desktop) p7zip/repos/testing-x86_64/PKGBUILD (from rev 141361, p7zip/trunk/PKGBUILD) p7zip/repos/testing-x86_64/install (from rev 141361, p7zip/trunk/install) -----------------------------+ testing-i686/7zFM.desktop | 9 ++++++ testing-i686/PKGBUILD | 61 ++++++++++++++++++++++++++++++++++++++++++ testing-i686/install | 13 ++++++++ testing-x86_64/7zFM.desktop | 9 ++++++ testing-x86_64/PKGBUILD | 61 ++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/install | 13 ++++++++ 6 files changed, 166 insertions(+) Copied: p7zip/repos/testing-i686/7zFM.desktop (from rev 141361, p7zip/trunk/7zFM.desktop) =================================================================== --- testing-i686/7zFM.desktop (rev 0) +++ testing-i686/7zFM.desktop 2011-10-30 02:04:19 UTC (rev 141362) @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=7-Zip FM +GenericName=7-Zip File Manager +Type=Application +Categories=GTK;Utility;Archiving;Compression; +Terminal=false +Icon=p7zip +Exec=7zFM Copied: p7zip/repos/testing-i686/PKGBUILD (from rev 141361, p7zip/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-10-30 02:04:19 UTC (rev 141362) @@ -0,0 +1,61 @@ +# $Id$ +# Contributor: Thayer Williams <tha...@archlinux.org> +# Contributor: Hugo Doria <h...@archlinux.org> +# Contributor: TuxSpirit<tuxspi...@archlinux.fr> 2007/11/17 21:22:36 UTC +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=p7zip +pkgver=9.20.1 +pkgrel=6 +pkgdesc='Command-line version of the 7zip compressed file archiver' +url='http://p7zip.sourceforge.net/' +license=('GPL' 'custom') +arch=('i686' 'x86_64') +depends=('gcc-libs' 'bash') +optdepends=('wxgtk: GUI' + 'desktop-file-utils: desktop entries') +makedepends=('yasm' 'nasm' 'wxgtk') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}_${pkgver}_src_all.tar.bz2" + '7zFM.desktop') +sha1sums=('1cd567e043ee054bf08244ce15f32cb3258306b7' + 'f2c370d6f1b286b7ce9a2804e22541b755616a40') + +install=install + +build() { + cd "${srcdir}/${pkgname}_${pkgver}" + + [[ $CARCH = x86_64 ]] \ + && cp makefile.linux_amd64_asm makefile.machine \ + || cp makefile.linux_x86_asm_gcc_4.X makefile.machine + + make all4 OPTFLAGS="${CXXFLAGS}" +} + +package() { + cd "${srcdir}/${pkgname}_${pkgver}" + + make install \ + DEST_DIR="${pkgdir}" \ + DEST_HOME="/usr" \ + DEST_MAN="/usr/share/man" + + # Licenses + install -d "${pkgdir}"/usr/share/licenses/p7zip + ln -s -t "${pkgdir}"/usr/share/licenses/p7zip \ + /usr/share/doc/p7zip/DOCS/License.txt \ + /usr/share/doc/p7zip/DOCS/unRarLicense.txt + + # Integration with stuff... + install -D GUI/p7zip_32.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/p7zip.png + install -d "${pkgdir}"/usr/share/{applications,kde4/services/ServiceMenus} + cp GUI/kde4/* "${pkgdir}"/usr/share/kde4/services/ServiceMenus/ + cp ../7zFM.desktop "${pkgdir}"/usr/share/applications/ + ln -s 7zCon.sfx "${pkgdir}"/usr/lib/p7zip/7z.sfx + + find GUI/help -type d -exec chmod 755 {} \; + cp -r GUI/help "${pkgdir}"/usr/lib/p7zip/ + + chmod -R u+w "${pkgdir}/usr" +} Copied: p7zip/repos/testing-i686/install (from rev 141361, p7zip/trunk/install) =================================================================== --- testing-i686/install (rev 0) +++ testing-i686/install 2011-10-30 02:04:19 UTC (rev 141362) @@ -0,0 +1,13 @@ +post_install() { + [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true + [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true +} + +post_upgrade() { + post_install +} + + +post_remove() { + post_install +} Copied: p7zip/repos/testing-x86_64/7zFM.desktop (from rev 141361, p7zip/trunk/7zFM.desktop) =================================================================== --- testing-x86_64/7zFM.desktop (rev 0) +++ testing-x86_64/7zFM.desktop 2011-10-30 02:04:19 UTC (rev 141362) @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=7-Zip FM +GenericName=7-Zip File Manager +Type=Application +Categories=GTK;Utility;Archiving;Compression; +Terminal=false +Icon=p7zip +Exec=7zFM Copied: p7zip/repos/testing-x86_64/PKGBUILD (from rev 141361, p7zip/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2011-10-30 02:04:19 UTC (rev 141362) @@ -0,0 +1,61 @@ +# $Id$ +# Contributor: Thayer Williams <tha...@archlinux.org> +# Contributor: Hugo Doria <h...@archlinux.org> +# Contributor: TuxSpirit<tuxspi...@archlinux.fr> 2007/11/17 21:22:36 UTC +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=p7zip +pkgver=9.20.1 +pkgrel=6 +pkgdesc='Command-line version of the 7zip compressed file archiver' +url='http://p7zip.sourceforge.net/' +license=('GPL' 'custom') +arch=('i686' 'x86_64') +depends=('gcc-libs' 'bash') +optdepends=('wxgtk: GUI' + 'desktop-file-utils: desktop entries') +makedepends=('yasm' 'nasm' 'wxgtk') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}_${pkgver}_src_all.tar.bz2" + '7zFM.desktop') +sha1sums=('1cd567e043ee054bf08244ce15f32cb3258306b7' + 'f2c370d6f1b286b7ce9a2804e22541b755616a40') + +install=install + +build() { + cd "${srcdir}/${pkgname}_${pkgver}" + + [[ $CARCH = x86_64 ]] \ + && cp makefile.linux_amd64_asm makefile.machine \ + || cp makefile.linux_x86_asm_gcc_4.X makefile.machine + + make all4 OPTFLAGS="${CXXFLAGS}" +} + +package() { + cd "${srcdir}/${pkgname}_${pkgver}" + + make install \ + DEST_DIR="${pkgdir}" \ + DEST_HOME="/usr" \ + DEST_MAN="/usr/share/man" + + # Licenses + install -d "${pkgdir}"/usr/share/licenses/p7zip + ln -s -t "${pkgdir}"/usr/share/licenses/p7zip \ + /usr/share/doc/p7zip/DOCS/License.txt \ + /usr/share/doc/p7zip/DOCS/unRarLicense.txt + + # Integration with stuff... + install -D GUI/p7zip_32.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/p7zip.png + install -d "${pkgdir}"/usr/share/{applications,kde4/services/ServiceMenus} + cp GUI/kde4/* "${pkgdir}"/usr/share/kde4/services/ServiceMenus/ + cp ../7zFM.desktop "${pkgdir}"/usr/share/applications/ + ln -s 7zCon.sfx "${pkgdir}"/usr/lib/p7zip/7z.sfx + + find GUI/help -type d -exec chmod 755 {} \; + cp -r GUI/help "${pkgdir}"/usr/lib/p7zip/ + + chmod -R u+w "${pkgdir}/usr" +} Copied: p7zip/repos/testing-x86_64/install (from rev 141361, p7zip/trunk/install) =================================================================== --- testing-x86_64/install (rev 0) +++ testing-x86_64/install 2011-10-30 02:04:19 UTC (rev 141362) @@ -0,0 +1,13 @@ +post_install() { + [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true + [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true +} + +post_upgrade() { + post_install +} + + +post_remove() { + post_install +}