[arch-commits] Commit in krecipes/repos (6 files)

Felix Yan fyan at archlinux.org
Sun Sep 28 16:38:39 UTC 2014


    Date: Sunday, September 28, 2014 @ 18:38:39
  Author: fyan
Revision: 119704

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

Added:
  krecipes/repos/community-staging-i686/
  krecipes/repos/community-staging-i686/PKGBUILD
    (from rev 119702, krecipes/trunk/PKGBUILD)
  krecipes/repos/community-staging-i686/krecipes.install
    (from rev 119702, krecipes/trunk/krecipes.install)
  krecipes/repos/community-staging-x86_64/
  krecipes/repos/community-staging-x86_64/PKGBUILD
    (from rev 119703, krecipes/trunk/PKGBUILD)
  krecipes/repos/community-staging-x86_64/krecipes.install
    (from rev 119703, krecipes/trunk/krecipes.install)

-------------------------------------------+
 community-staging-i686/PKGBUILD           |   47 ++++++++++++++++++++++++++++
 community-staging-i686/krecipes.install   |   12 +++++++
 community-staging-x86_64/PKGBUILD         |   47 ++++++++++++++++++++++++++++
 community-staging-x86_64/krecipes.install |   12 +++++++
 4 files changed, 118 insertions(+)

Copied: krecipes/repos/community-staging-i686/PKGBUILD (from rev 119702, krecipes/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-09-28 16:38:39 UTC (rev 119704)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: shamrok <szamrok at gmail.com>
+# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+# Contributor: Adrià Arrufat <swiftscythe at gmail.com>
+
+pkgname=krecipes
+pkgver=2.0beta2
+_pkgver=2.0-beta2
+pkgrel=6
+pkgdesc="A tool designed to make organizing your personal recipes collection fast and easy"
+arch=('i686' 'x86_64')
+url="http://extragear.kde.org/apps/krecipes/"
+license=('GPL')
+depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme')
+makedepends=('cmake' 'automoc4' 'docbook-xsl')
+optdepends=('mariadb' 'postgresql')
+install=${pkgname}.install
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz
+        https://sourceforge.net/p/${pkgname}/patches/10/attachment/${pkgname}-tr.tar.gz)
+md5sums=('4c01ccad7ad1409cb35c824a61250fe2'
+         'f33f648df70c93f95fc32d50d0e12d7f')
+
+prepare() {
+  # include additional translations
+  # see https://sourceforge.net/p/krecipes/patches/10/
+  cp -r ${pkgname}-tr/po/ ${pkgname}-2.0-beta2/
+  patch -p0 -i ${pkgname}-tr/krecipes-tr.patch
+}
+
+build() {
+  cd ${srcdir}
+
+  mkdir build
+  cd build
+
+  cmake ../${pkgname}-${_pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/build
+
+  make DESTDIR=${pkgdir} install
+}

Copied: krecipes/repos/community-staging-i686/krecipes.install (from rev 119702, krecipes/trunk/krecipes.install)
===================================================================
--- community-staging-i686/krecipes.install	                        (rev 0)
+++ community-staging-i686/krecipes.install	2014-09-28 16:38:39 UTC (rev 119704)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: krecipes/repos/community-staging-x86_64/PKGBUILD (from rev 119703, krecipes/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-09-28 16:38:39 UTC (rev 119704)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: shamrok <szamrok at gmail.com>
+# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+# Contributor: Adrià Arrufat <swiftscythe at gmail.com>
+
+pkgname=krecipes
+pkgver=2.0beta2
+_pkgver=2.0-beta2
+pkgrel=6
+pkgdesc="A tool designed to make organizing your personal recipes collection fast and easy"
+arch=('i686' 'x86_64')
+url="http://extragear.kde.org/apps/krecipes/"
+license=('GPL')
+depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme')
+makedepends=('cmake' 'automoc4' 'docbook-xsl')
+optdepends=('mariadb' 'postgresql')
+install=${pkgname}.install
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz
+        https://sourceforge.net/p/${pkgname}/patches/10/attachment/${pkgname}-tr.tar.gz)
+md5sums=('4c01ccad7ad1409cb35c824a61250fe2'
+         'f33f648df70c93f95fc32d50d0e12d7f')
+
+prepare() {
+  # include additional translations
+  # see https://sourceforge.net/p/krecipes/patches/10/
+  cp -r ${pkgname}-tr/po/ ${pkgname}-2.0-beta2/
+  patch -p0 -i ${pkgname}-tr/krecipes-tr.patch
+}
+
+build() {
+  cd ${srcdir}
+
+  mkdir build
+  cd build
+
+  cmake ../${pkgname}-${_pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/build
+
+  make DESTDIR=${pkgdir} install
+}

Copied: krecipes/repos/community-staging-x86_64/krecipes.install (from rev 119703, krecipes/trunk/krecipes.install)
===================================================================
--- community-staging-x86_64/krecipes.install	                        (rev 0)
+++ community-staging-x86_64/krecipes.install	2014-09-28 16:38:39 UTC (rev 119704)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list