Date: Saturday, February 4, 2017 @ 14:22:01
  Author: bgyorgy
Revision: 209891

archrelease: copy trunk to community-x86_64, community-i686

Added:
  zint/repos/
  zint/repos/community-i686/
  zint/repos/community-i686/PKGBUILD
    (from rev 209890, zint/trunk/PKGBUILD)
  zint/repos/community-x86_64/
  zint/repos/community-x86_64/PKGBUILD
    (from rev 209890, zint/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: zint/repos/community-i686/PKGBUILD (from rev 209890, 
zint/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD                               (rev 0)
+++ repos/community-i686/PKGBUILD       2017-02-04 14:22:01 UTC (rev 209891)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=zint
+pkgname=(zint zint-qt)
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="Barcode encoding library supporting over 50 symbologies"
+arch=('x86_64' 'i686')
+url="http://zint.org.uk/";
+license=('GPL')
+depends=('qt4')
+makedepends=('cmake')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz";)
+sha256sums=('6416596e7d070ae18970601379226806fc4fc1024a2061843f87e692409d75fc')
+
+build() {
+       cd $pkgbase-$pkgver
+       cmake -DCMAKE_INSTALL_PREFIX=/usr
+       make
+}
+
+package_zint() {
+       depends=('libpng')
+
+       cd $pkgbase-$pkgver
+       make DESTDIR="$pkgdir" install
+
+       rm "$pkgdir/usr/bin/zint-qt" \
+          "$pkgdir/usr/include/qzint.h" \
+          "$pkgdir/usr/lib/libQZint.so"*
+}
+
+package_zint-qt() {
+       pkgdesc="Zint Barcode Studio GUI"
+       depends=('qt4' 'zint')
+
+       cd $pkgbase-$pkgver
+       make -C backend_qt4 DESTDIR="$pkgdir" install
+       make -C frontend_qt4 DESTDIR="$pkgdir" install
+}

Copied: zint/repos/community-x86_64/PKGBUILD (from rev 209890, 
zint/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD                             (rev 0)
+++ repos/community-x86_64/PKGBUILD     2017-02-04 14:22:01 UTC (rev 209891)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=zint
+pkgname=(zint zint-qt)
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="Barcode encoding library supporting over 50 symbologies"
+arch=('x86_64' 'i686')
+url="http://zint.org.uk/";
+license=('GPL')
+depends=('qt4')
+makedepends=('cmake')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz";)
+sha256sums=('6416596e7d070ae18970601379226806fc4fc1024a2061843f87e692409d75fc')
+
+build() {
+       cd $pkgbase-$pkgver
+       cmake -DCMAKE_INSTALL_PREFIX=/usr
+       make
+}
+
+package_zint() {
+       depends=('libpng')
+
+       cd $pkgbase-$pkgver
+       make DESTDIR="$pkgdir" install
+
+       rm "$pkgdir/usr/bin/zint-qt" \
+          "$pkgdir/usr/include/qzint.h" \
+          "$pkgdir/usr/lib/libQZint.so"*
+}
+
+package_zint-qt() {
+       pkgdesc="Zint Barcode Studio GUI"
+       depends=('qt4' 'zint')
+
+       cd $pkgbase-$pkgver
+       make -C backend_qt4 DESTDIR="$pkgdir" install
+       make -C frontend_qt4 DESTDIR="$pkgdir" install
+}

Reply via email to