[arch-commits] Commit in xcircuit/repos/community-x86_64 (3 files)
Kyle Keen
kkeen at archlinux.org
Tue Feb 20 22:56:12 UTC 2018
Date: Tuesday, February 20, 2018 @ 22:56:11
Author: kkeen
Revision: 296635
archrelease: copy trunk to community-x86_64
Added:
xcircuit/repos/community-x86_64/PKGBUILD
(from rev 296634, xcircuit/trunk/PKGBUILD)
xcircuit/repos/community-x86_64/xcircuit.desktop
(from rev 296634, xcircuit/trunk/xcircuit.desktop)
Deleted:
xcircuit/repos/community-x86_64/PKGBUILD
------------------+
PKGBUILD | 86 +++++++++++++++++++++++++++--------------------------
xcircuit.desktop | 10 ++++++
2 files changed, 55 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-20 22:55:57 UTC (rev 296634)
+++ PKGBUILD 2018-02-20 22:56:11 UTC (rev 296635)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Giovanni Scafora <linuxmania at gmail.com>
-# Contributor: simo <simo at archlinux.org>
-
-pkgname=xcircuit
-pkgver=3.9.70
-_pkgver=3.9
-pkgrel=1
-pkgdesc="A program for drawing publishable-quality electrical circuit schematic diagrams"
-arch=('i686' 'x86_64')
-url="http://opencircuitdesign.com/xcircuit"
-license=('GPL2')
-depends=('tk' 'libxpm' 'zlib' 'cairo')
-makedepends=('chrpath' 'gendesk')
-_categories='Application;Electronics;Engineering'
-source=(http://opencircuitdesign.com/xcircuit/archive/$pkgname-$pkgver.tgz)
-sha256sums=('277b4239e9fe38eeb1ebbf2062e017dc3ae3b5f473a1173aa03e0ea88c610278')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
- gendesk $startdir/PKGBUILD
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --with-cairo \
- --with-tcl=/usr/lib \
- --with-tk=/usr/lib
- make ACLOCAL=aclocal AUTOMAKE=automake
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir"/usr/share/man/man1
- mv "$pkgdir"/usr/lib/xcircuit-${_pkgver}/man/* "$pkgdir"/usr/share/man/man1/
- rm -rf "$pkgdir"/usr/lib/xcircuit-${_pkgver}/man/
- chrpath -d "$pkgdir"/usr/lib/xcircuit-${_pkgver}/xcircexec
- install -Dm0644 xcircuit.desktop "$pkgdir"/usr/share/applications/xcircuit.desktop
- install -Dm0644 xcircuit.png "$pkgdir"/usr/share/icons/xcircuit.png
-}
Copied: xcircuit/repos/community-x86_64/PKGBUILD (from rev 296634, xcircuit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-20 22:56:11 UTC (rev 296635)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Giovanni Scafora <linuxmania at gmail.com>
+# Contributor: simo <simo at archlinux.org>
+
+pkgname=xcircuit
+pkgver=3.9.72
+_pkgver=3.9
+pkgrel=1
+pkgdesc="A program for drawing publishable-quality electrical circuit schematic diagrams"
+arch=('x86_64')
+url="http://opencircuitdesign.com/xcircuit"
+license=('GPL2')
+depends=('tk' 'libxpm' 'zlib' 'cairo')
+makedepends=('chrpath' 'imagemagick')
+source=("http://opencircuitdesign.com/xcircuit/archive/$pkgname-$pkgver.tgz"
+ "xcircuit.desktop"
+ "http://opencircuitdesign.com/xcircuit/xcicon_sm.gif")
+sha256sums=('9b8d1e2ff75db81da4f290d9c5d356c7dd749e05ce4cb3e9fcd91e284cb024df'
+ '3c29f55ee6196b554d6fc5791f29ac7cab2fecc184c699e80ee265be0b609456'
+ '8e7b132d9803443e6f3ae65ed1990362a5a977e7856b1e54f2edf8cd4a3d7259')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-cairo \
+ --with-tcl=/usr/lib \
+ --with-tk=/usr/lib
+ make ACLOCAL=aclocal AUTOMAKE=automake
+}
+
+package() {
+ cd "$srcdir"
+ install -Dm0644 xcircuit.desktop "$pkgdir/usr/share/applications/xcircuit.desktop"
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ mkdir -p "$pkgdir/usr/share/man/man1"
+ mv "$pkgdir/usr/lib/xcircuit-${_pkgver}/man/"* "$pkgdir/usr/share/man/man1/"
+ rm -rf "$pkgdir/usr/lib/xcircuit-${_pkgver}/man/"
+ chrpath -d "$pkgdir/usr/lib/xcircuit-${_pkgver}/xcircexec"
+ convert ../xcicon_sm.gif xcircuit.png
+ install -Dm0644 xcircuit.png "$pkgdir/usr/share/icons/xcircuit.png"
+}
Copied: xcircuit/repos/community-x86_64/xcircuit.desktop (from rev 296634, xcircuit/trunk/xcircuit.desktop)
===================================================================
--- xcircuit.desktop (rev 0)
+++ xcircuit.desktop 2018-02-20 22:56:11 UTC (rev 296635)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Xcircuit
+Comment=A program for drawing publishable-quality electrical circuit schematic diagrams
+Exec=xcircuit
+Icon=xcircuit
+Terminal=false
+StartupNotify=false
+Categories=Application;Electronics;Engineering;
More information about the arch-commits
mailing list