[arch-commits] Commit in doublecmd/repos/community-x86_64 (4 files)
Ike Devolder
idevolder at archlinux.org
Sun Dec 24 09:06:07 UTC 2017
Date: Sunday, December 24, 2017 @ 09:06:03
Author: idevolder
Revision: 275717
archrelease: copy trunk to community-x86_64
Added:
doublecmd/repos/community-x86_64/PKGBUILD
(from rev 275716, doublecmd/trunk/PKGBUILD)
doublecmd/repos/community-x86_64/doublecmd.install
(from rev 275716, doublecmd/trunk/doublecmd.install)
Deleted:
doublecmd/repos/community-x86_64/PKGBUILD
doublecmd/repos/community-x86_64/doublecmd.install
-------------------+
PKGBUILD | 171 +++++++++++++++++++++++++++-------------------------
doublecmd.install | 68 ++++++++++----------
2 files changed, 123 insertions(+), 116 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-24 09:05:54 UTC (rev 275716)
+++ PKGBUILD 2017-12-24 09:06:03 UTC (rev 275717)
@@ -1,82 +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-qt')
-pkgver=0.8.0
-_helpver=0.6.0
-pkgrel=1
-url="http://doublecmd.sourceforge.net/"
-arch=('x86_64')
-license=('GPL')
-provides=("$pkgbase")
-makedepends=('lazarus' 'qt4pas' 'gtk2')
-optdepends=(
- 'lua51: scripting'
- 'p7zip: support for 7zip archives'
- 'libunrar: support for rar archives'
-)
-source=(
- "http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-$pkgver-src.tar.gz"
- "http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-help-$_helpver-src.tar.gz"
- "http://www.herecura.be/files/lazarus-20140321-2.tar.gz"
-)
-sha256sums=('7ec7995607d5be0193fe775f8e4a763933b8646ddee035fd93b209e181a1a371'
- 'd50a58f0e8c25c07720f2afd987213f330dfce268e2aef349d1da3de2eef1c39'
- '16560ad7403ffbee1800384768828e1fad924d03068c6248b68a78c393fc4e20')
-
-prepare() {
- cd "$pkgbase-$pkgver"
- sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i install/linux/install.sh
-
- cd "$srcdir"
-
- cp -a "$pkgbase-$pkgver" "$pkgbase-gtk"
- cp -a "$pkgbase-$pkgver" "$pkgbase-qt"
-}
-
-build() {
- msg2 'build gtk'
- gtkdir="$srcdir/$pkgbase-gtk"
- cd "$gtkdir"
- bsdtar -zxf "$srcdir/lazarus-20140321-2.tar.gz"
- sed -e "s/\\(export\\ lazbuild=\\).*/\\1\"\$(which lazbuild) --primary-config-path=${gtkdir//\//\\\/}\/lazarus\/lazarus-$CARCH\"/" -i build.sh
- sed -e "s/%%SRCDIR%%/${gtkdir//\//\\\/}/g" -i lazarus/packagefiles.xml
- ./build.sh beta gtk2
-
- msg2 'build qt'
- qtdir="$srcdir/$pkgbase-qt"
- cd "$qtdir"
- bsdtar -zxf "$srcdir/lazarus-20140321-2.tar.gz"
- sed -e "s/\\(export\\ lazbuild=\\).*/\\1\"\$(which lazbuild) --primary-config-path=${qtdir//\//\\\/}\/lazarus\/lazarus-$CARCH\"/" -i build.sh
- sed -e "s/%%SRCDIR%%/${qtdir//\//\\\/}/g" -i lazarus/packagefiles.xml
- ./build.sh beta qt
-
-}
-
-package_doublecmd-gtk2() {
- pkgdesc="twin-panel (commander-style) file manager (GTK)"
- depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
- conflicts=('doublecmd-qt')
- cd "$srcdir/$pkgbase-gtk"
- ./install/linux/install.sh --install-prefix="$pkgdir"
-
- # install doc
- cd "$srcdir/$pkgbase-help-$_helpver"
- cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
-}
-
-package_doublecmd-qt() {
- pkgdesc="twin-panel (commander-style) file manager (QT)"
- depends=('qt4pas' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
- conflicts=('doublecmd-gtk2')
- cd "$srcdir/$pkgbase-qt"
- ./install/linux/install.sh --install-prefix="$pkgdir"
-
- # install doc
- cd "$srcdir/$pkgbase-help-$_helpver"
- cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
-}
-
Copied: doublecmd/repos/community-x86_64/PKGBUILD (from rev 275716, doublecmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-24 09:06:03 UTC (rev 275717)
@@ -0,0 +1,89 @@
+# 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-qt4' 'doublecmd-qt5')
+pkgver=0.8.1
+_helpver=0.6.0
+pkgrel=1
+url="http://doublecmd.sourceforge.net/"
+arch=('x86_64')
+license=('GPL')
+provides=("$pkgbase")
+makedepends=('lazarus' 'qt4pas' 'qt5pas' 'gtk2')
+optdepends=(
+ 'lua51: scripting'
+ '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"
+ "https://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-help-$_helpver-src.tar.gz"
+)
+sha512sums=('8e80ba5914362572d77403e054873665dcf9dcf2dd9258acd07888aa5dfa05e7b6537e9e7750f26eadb09091915bd314f859d29c0527bb3aa45e936763a664d4'
+ '2fe7a58e317c93baf4cfcb9cfc660647d71f4454eef588a512a9b9e8467477a691ec1061f014a42dff4ae0a0ba0600824b33c12c950fe1e26fba2a51122404bb')
+
+prepare() {
+ cd "$pkgbase-$pkgver"
+ sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i install/linux/install.sh
+ sed -e 's/=$(which lazbuild)/="$(which lazbuild) --lazarusdir=\/usr\/lib\/lazarus"/' -i build.sh
+
+ cd "$srcdir"
+
+ cp -a "$pkgbase-$pkgver" "$pkgbase-gtk"
+ cp -a "$pkgbase-$pkgver" "$pkgbase-qt4"
+ cp -a "$pkgbase-$pkgver" "$pkgbase-qt5"
+}
+
+build() {
+ msg2 'build gtk'
+ cd "$srcdir/$pkgbase-gtk"
+ ./build.sh beta gtk2
+
+ msg2 'build qt4'
+ cd "$srcdir/$pkgbase-qt4"
+ ./build.sh beta qt
+
+ 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-qt4' 'doublecmd-qt5')
+ cd "$srcdir/$pkgbase-gtk"
+ ./install/linux/install.sh --install-prefix="$pkgdir"
+
+ # install doc
+ cd "$srcdir/$pkgbase-help-$_helpver"
+ cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
+}
+
+package_doublecmd-qt4() {
+ pkgdesc="twin-panel (commander-style) file manager (Qt4)"
+ depends=('qt4pas' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
+ conflicts=('doublecmd-gtk2' 'doublecmd-qt5')
+ replaces=('doublecmd-qt')
+ cd "$srcdir/$pkgbase-qt4"
+ ./install/linux/install.sh --install-prefix="$pkgdir"
+
+ # install doc
+ cd "$srcdir/$pkgbase-help-$_helpver"
+ cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
+}
+
+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' 'doublecmd-qt4')
+ cd "$srcdir/$pkgbase-qt5"
+ ./install/linux/install.sh --install-prefix="$pkgdir"
+
+ # install doc
+ cd "$srcdir/$pkgbase-help-$_helpver"
+ cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
+}
Deleted: doublecmd.install
===================================================================
--- doublecmd.install 2017-12-24 09:05:54 UTC (rev 275716)
+++ doublecmd.install 2017-12-24 09:06:03 UTC (rev 275717)
@@ -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 275716, doublecmd/trunk/doublecmd.install)
===================================================================
--- doublecmd.install (rev 0)
+++ doublecmd.install 2017-12-24 09:06:03 UTC (rev 275717)
@@ -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
+}
More information about the arch-commits
mailing list