Date: Tuesday, March 1, 2016 @ 20:30:01 Author: kkeen Revision: 164010
archrelease: copy trunk to community-i686, community-x86_64 Added: kicad/repos/community-i686/PKGBUILD (from rev 164009, kicad/trunk/PKGBUILD) kicad/repos/community-i686/kicad.install (from rev 164009, kicad/trunk/kicad.install) kicad/repos/community-x86_64/PKGBUILD (from rev 164009, kicad/trunk/PKGBUILD) kicad/repos/community-x86_64/kicad.install (from rev 164009, kicad/trunk/kicad.install) Deleted: kicad/repos/community-i686/PKGBUILD kicad/repos/community-i686/kicad.install kicad/repos/community-x86_64/PKGBUILD kicad/repos/community-x86_64/kicad.install --------------------------------+ /PKGBUILD | 118 +++++++++++++++++++++++++++++++++++++++ /kicad.install | 30 +++++++++ community-i686/PKGBUILD | 56 ------------------ community-i686/kicad.install | 15 ---- community-x86_64/PKGBUILD | 56 ------------------ community-x86_64/kicad.install | 15 ---- 6 files changed, 148 insertions(+), 142 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-03-01 19:29:39 UTC (rev 164009) +++ community-i686/PKGBUILD 2016-03-01 19:30:01 UTC (rev 164010) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: Marq Schneider <queue...@gmail.com> - -pkgname=kicad -pkgver=4.0.2 -_i18nv=4.0.1 -pkgrel=1 -pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" -arch=('i686' 'x86_64') -#url="http://iut-tice.ujf-grenoble.fr/kicad/" -url="http://kicad-pcb.org/" -license=('GPL') -depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew') -makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext') -optdepends=('kicad-library: for footprints and symbols' - 'kicad-library-3d: for 3d models of components') -# python optdep for plugins? -install=kicad.install -source=("https://launchpad.net/kicad/4.0/kicad-$pkgver/+download/kicad-$pkgver.tar.xz" - "kicad-i18n.$_i18nv.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$_i18nv.tar.gz") -md5sums=('6c40f3a511f47c1145ccc75b9c3729f7' - '42db67dac237675af91e705de4913d04') - -build() { - cd "$srcdir/kicad-$pkgver" - - mkdir -p build/Release - cd build/Release - cmake ../.. -DKICAD_STABLE_VERSION=ON \ - -DKICAD_REPO_NAME=stable \ - -DKICAD_BUILD_VERSION=$pkgver \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DKICAD_SKIP_BOOST=ON \ - -DBUILD_GITHUB_PLUGIN=ON - make - - cd "$srcdir/kicad-i18n-$_i18nv" - mkdir -p build/Release - cd build/Release - cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr - make -} - -package() { - cd "$srcdir/kicad-$pkgver/build/Release" - - make DESTDIR="$pkgdir" install - - # copy updated linux icons - #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/" - - cd "$srcdir/kicad-i18n-$_i18nv/build/Release" - make DESTDIR="$pkgdir" install -} Copied: kicad/repos/community-i686/PKGBUILD (from rev 164009, kicad/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-03-01 19:30:01 UTC (rev 164010) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Marq Schneider <queue...@gmail.com> + +pkgname=kicad +pkgver=4.0.2 +pkgrel=2 +pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" +arch=('i686' 'x86_64') +#url="http://iut-tice.ujf-grenoble.fr/kicad/" +url="http://kicad-pcb.org/" +license=('GPL') +depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew') +makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext' 'wxpython' 'swig') +optdepends=('kicad-library: for footprints and symbols' + 'kicad-library-3d: for 3d models of components' + 'wxpython: for python scripting plugin') +# python optdep for plugins? +install=kicad.install +source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz" + "kicad-i18n.$pkgver.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz") +md5sums=('6c40f3a511f47c1145ccc75b9c3729f7' + '14b17243b11bccc0483efb3743bd0f7b') + +build() { + cd "$srcdir/kicad-$pkgver" + + mkdir -p build/Release + cd build/Release + cmake ../.. -DKICAD_STABLE_VERSION=ON \ + -DKICAD_REPO_NAME=stable \ + -DKICAD_BUILD_VERSION=$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKICAD_SKIP_BOOST=ON \ + -DKICAD_SCRIPTING=ON \ + -DKICAD_SCRIPTING_MODULES=ON \ + -DKICAD_SCRIPTING_WXPYTHON=ON \ + -DBUILD_GITHUB_PLUGIN=ON + make + + cd "$srcdir/kicad-i18n-$pkgver" + mkdir -p build/Release + cd build/Release + cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/kicad-$pkgver/build/Release" + + make DESTDIR="$pkgdir" install + + # copy updated linux icons + #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/" + + cd "$srcdir/kicad-i18n-$pkgver/build/Release" + make DESTDIR="$pkgdir" install +} Deleted: community-i686/kicad.install =================================================================== --- community-i686/kicad.install 2016-03-01 19:29:39 UTC (rev 164009) +++ community-i686/kicad.install 2016-03-01 19:30:01 UTC (rev 164010) @@ -1,15 +0,0 @@ -pkgname=kicad - -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-mime-database usr/share/mime > /dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} Copied: kicad/repos/community-i686/kicad.install (from rev 164009, kicad/trunk/kicad.install) =================================================================== --- community-i686/kicad.install (rev 0) +++ community-i686/kicad.install 2016-03-01 19:30:01 UTC (rev 164010) @@ -0,0 +1,15 @@ +pkgname=kicad + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-03-01 19:29:39 UTC (rev 164009) +++ community-x86_64/PKGBUILD 2016-03-01 19:30:01 UTC (rev 164010) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: Marq Schneider <queue...@gmail.com> - -pkgname=kicad -pkgver=4.0.2 -_i18nv=4.0.1 -pkgrel=1 -pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" -arch=('i686' 'x86_64') -#url="http://iut-tice.ujf-grenoble.fr/kicad/" -url="http://kicad-pcb.org/" -license=('GPL') -depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew') -makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext') -optdepends=('kicad-library: for footprints and symbols' - 'kicad-library-3d: for 3d models of components') -# python optdep for plugins? -install=kicad.install -source=("https://launchpad.net/kicad/4.0/kicad-$pkgver/+download/kicad-$pkgver.tar.xz" - "kicad-i18n.$_i18nv.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$_i18nv.tar.gz") -md5sums=('6c40f3a511f47c1145ccc75b9c3729f7' - '42db67dac237675af91e705de4913d04') - -build() { - cd "$srcdir/kicad-$pkgver" - - mkdir -p build/Release - cd build/Release - cmake ../.. -DKICAD_STABLE_VERSION=ON \ - -DKICAD_REPO_NAME=stable \ - -DKICAD_BUILD_VERSION=$pkgver \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DKICAD_SKIP_BOOST=ON \ - -DBUILD_GITHUB_PLUGIN=ON - make - - cd "$srcdir/kicad-i18n-$_i18nv" - mkdir -p build/Release - cd build/Release - cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr - make -} - -package() { - cd "$srcdir/kicad-$pkgver/build/Release" - - make DESTDIR="$pkgdir" install - - # copy updated linux icons - #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/" - - cd "$srcdir/kicad-i18n-$_i18nv/build/Release" - make DESTDIR="$pkgdir" install -} Copied: kicad/repos/community-x86_64/PKGBUILD (from rev 164009, kicad/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-03-01 19:30:01 UTC (rev 164010) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Marq Schneider <queue...@gmail.com> + +pkgname=kicad +pkgver=4.0.2 +pkgrel=2 +pkgdesc="Electronic schematic and printed circuit board (PCB) design tools" +arch=('i686' 'x86_64') +#url="http://iut-tice.ujf-grenoble.fr/kicad/" +url="http://kicad-pcb.org/" +license=('GPL') +depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew') +makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext' 'wxpython' 'swig') +optdepends=('kicad-library: for footprints and symbols' + 'kicad-library-3d: for 3d models of components' + 'wxpython: for python scripting plugin') +# python optdep for plugins? +install=kicad.install +source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz" + "kicad-i18n.$pkgver.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz") +md5sums=('6c40f3a511f47c1145ccc75b9c3729f7' + '14b17243b11bccc0483efb3743bd0f7b') + +build() { + cd "$srcdir/kicad-$pkgver" + + mkdir -p build/Release + cd build/Release + cmake ../.. -DKICAD_STABLE_VERSION=ON \ + -DKICAD_REPO_NAME=stable \ + -DKICAD_BUILD_VERSION=$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKICAD_SKIP_BOOST=ON \ + -DKICAD_SCRIPTING=ON \ + -DKICAD_SCRIPTING_MODULES=ON \ + -DKICAD_SCRIPTING_WXPYTHON=ON \ + -DBUILD_GITHUB_PLUGIN=ON + make + + cd "$srcdir/kicad-i18n-$pkgver" + mkdir -p build/Release + cd build/Release + cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/kicad-$pkgver/build/Release" + + make DESTDIR="$pkgdir" install + + # copy updated linux icons + #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/" + + cd "$srcdir/kicad-i18n-$pkgver/build/Release" + make DESTDIR="$pkgdir" install +} Deleted: community-x86_64/kicad.install =================================================================== --- community-x86_64/kicad.install 2016-03-01 19:29:39 UTC (rev 164009) +++ community-x86_64/kicad.install 2016-03-01 19:30:01 UTC (rev 164010) @@ -1,15 +0,0 @@ -pkgname=kicad - -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-mime-database usr/share/mime > /dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} Copied: kicad/repos/community-x86_64/kicad.install (from rev 164009, kicad/trunk/kicad.install) =================================================================== --- community-x86_64/kicad.install (rev 0) +++ community-x86_64/kicad.install 2016-03-01 19:30:01 UTC (rev 164010) @@ -0,0 +1,15 @@ +pkgname=kicad + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}