Date: Monday, December 10, 2018 @ 19:42:45 Author: idevolder Revision: 414461
archrelease: copy trunk to community-x86_64 Added: doublecmd/repos/community-x86_64/PKGBUILD (from rev 414460, doublecmd/trunk/PKGBUILD) doublecmd/repos/community-x86_64/doublecmd.install (from rev 414460, doublecmd/trunk/doublecmd.install) Deleted: doublecmd/repos/community-x86_64/PKGBUILD doublecmd/repos/community-x86_64/doublecmd.install -------------------+ PKGBUILD | 129 +++++++++++++++++++++++++--------------------------- doublecmd.install | 68 +++++++++++++-------------- 2 files changed, 98 insertions(+), 99 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-10 19:42:37 UTC (rev 414460) +++ PKGBUILD 2018-12-10 19:42:45 UTC (rev 414461) @@ -1,65 +0,0 @@ -# vim:set ft=sh: -# $Id$ -# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> -# Contributor: (sirocco AT ngs.ru) - -pkgbase=doublecmd -pkgname=('doublecmd-gtk2' 'doublecmd-qt5') -pkgver=0.8.4 -pkgrel=2 -url="http://doublecmd.sourceforge.net/" -arch=('x86_64') -license=('GPL') -provides=("$pkgbase") -makedepends=('lazarus' 'qt5pas' 'gtk2') -optdepends=( - 'lua51: scripting' - 'unzip: support extracting zip archives' - 'zip: suport packing zip archives' - 'p7zip: support for 7zip archives' - 'libunrar: support for rar archives' -) -source=( - "https://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-$pkgver-src.tar.gz" -) -sha512sums=('cffa20cafa06c5bf535d80aef0a926e6d8f484ddc11dec9f139ff2444cb77f556a1733a2eb8c2b08241be849f8090535e2a6d0cda03cfe3048a40bccf49e975f') - -prepare() { - cp -a /usr/lib/lazarus ./ - - cd "$pkgbase-$pkgver" - sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i install/linux/install.sh - sed -e "s@=\$(which lazbuild)@=\"\$(which lazbuild) --lazarusdir=$srcdir/lazarus\"@" -i build.sh - - cd "$srcdir" - - cp -a "$pkgbase-$pkgver" "$pkgbase-gtk" - cp -a "$pkgbase-$pkgver" "$pkgbase-qt5" -} - -build() { - msg2 'build gtk' - cd "$srcdir/$pkgbase-gtk" - ./build.sh beta gtk2 - - msg2 'build qt5' - cd "$srcdir/$pkgbase-qt5" - ./build.sh beta qt5 -} - -package_doublecmd-gtk2() { - pkgdesc="twin-panel (commander-style) file manager (GTK)" - depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') - conflicts=('doublecmd-qt5') - cd "$srcdir/$pkgbase-gtk" - ./install/linux/install.sh --install-prefix="$pkgdir" -} - -package_doublecmd-qt5() { - pkgdesc="twin-panel (commander-style) file manager (Qt5)" - depends=('qt5pas' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') - conflicts=('doublecmd-gtk2') - replaces=('doublecmd-qt' 'doublecmd-qt4') - cd "$srcdir/$pkgbase-qt5" - ./install/linux/install.sh --install-prefix="$pkgdir" -} Copied: doublecmd/repos/community-x86_64/PKGBUILD (from rev 414460, doublecmd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-10 19:42:45 UTC (rev 414461) @@ -0,0 +1,64 @@ +# vim:set ft=sh: +# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> +# Contributor: (sirocco AT ngs.ru) + +pkgbase=doublecmd +pkgname=('doublecmd-gtk2' 'doublecmd-qt5') +pkgver=0.8.4 +pkgrel=3 +url="http://doublecmd.sourceforge.net/" +arch=('x86_64') +license=('GPL') +provides=("$pkgbase") +makedepends=('lazarus' 'qt5pas' 'gtk2') +optdepends=( + 'lua51: scripting' + 'unzip: support extracting zip archives' + 'zip: suport packing zip archives' + 'p7zip: support for 7zip archives' + 'libunrar: support for rar archives' +) +source=( + "https://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-$pkgver-src.tar.gz" +) +sha512sums=('cffa20cafa06c5bf535d80aef0a926e6d8f484ddc11dec9f139ff2444cb77f556a1733a2eb8c2b08241be849f8090535e2a6d0cda03cfe3048a40bccf49e975f') + +prepare() { + cp -a /usr/lib/lazarus ./ + + cd "$pkgbase-$pkgver" + sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i install/linux/install.sh + sed -e "s@=\$(which lazbuild)@=\"\$(which lazbuild) --lazarusdir=$srcdir/lazarus\"@" -i build.sh + + cd "$srcdir" + + cp -a "$pkgbase-$pkgver" "$pkgbase-gtk" + cp -a "$pkgbase-$pkgver" "$pkgbase-qt5" +} + +build() { + msg2 'build gtk' + cd "$srcdir/$pkgbase-gtk" + ./build.sh beta gtk2 + + msg2 'build qt5' + cd "$srcdir/$pkgbase-qt5" + ./build.sh beta qt5 +} + +package_doublecmd-gtk2() { + pkgdesc="twin-panel (commander-style) file manager (GTK)" + depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') + conflicts=('doublecmd-qt5') + cd "$srcdir/$pkgbase-gtk" + ./install/linux/install.sh --install-prefix="$pkgdir" +} + +package_doublecmd-qt5() { + pkgdesc="twin-panel (commander-style) file manager (Qt5)" + depends=('qt5pas' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') + conflicts=('doublecmd-gtk2') + replaces=('doublecmd-qt' 'doublecmd-qt4') + cd "$srcdir/$pkgbase-qt5" + ./install/linux/install.sh --install-prefix="$pkgdir" +} Deleted: doublecmd.install =================================================================== --- doublecmd.install 2018-12-10 19:42:37 UTC (rev 414460) +++ doublecmd.install 2018-12-10 19:42:45 UTC (rev 414461) @@ -1,34 +0,0 @@ -update_icons() { - - # Setup Menus - if which update-desktop-database - then - update-desktop-database -q /usr/share/applications > /dev/null 2>&1 - fi - - # Setup MIME types - if which update-mime-database - then - update-mime-database /usr/share/mime > /dev/null 2>&1 - fi - - # Setup Icons - touch -c /usr/share/icons/hicolor - if which gtk-update-icon-cache - then - gtk-update-icon-cache -tq /usr/share/icons/hicolor > /dev/null 2>&1 - fi - -} - -post_install() { - update_icons -} - -post_upgrade() { - update_icons -} - -post_remove() { - update_icons -} Copied: doublecmd/repos/community-x86_64/doublecmd.install (from rev 414460, doublecmd/trunk/doublecmd.install) =================================================================== --- doublecmd.install (rev 0) +++ doublecmd.install 2018-12-10 19:42:45 UTC (rev 414461) @@ -0,0 +1,34 @@ +update_icons() { + + # Setup Menus + if which update-desktop-database + then + update-desktop-database -q /usr/share/applications > /dev/null 2>&1 + fi + + # Setup MIME types + if which update-mime-database + then + update-mime-database /usr/share/mime > /dev/null 2>&1 + fi + + # Setup Icons + touch -c /usr/share/icons/hicolor + if which gtk-update-icon-cache + then + gtk-update-icon-cache -tq /usr/share/icons/hicolor > /dev/null 2>&1 + fi + +} + +post_install() { + update_icons +} + +post_upgrade() { + update_icons +} + +post_remove() { + update_icons +}