[arch-commits] Commit in krecipes/trunk (PKGBUILD krecipes.install)

Antonio Rojas arojas at archlinux.org
Sat May 7 13:14:41 UTC 2016


    Date: Saturday, May 7, 2016 @ 15:14:40
  Author: arojas
Revision: 174098

Hooks

Modified:
  krecipes/trunk/PKGBUILD
Deleted:
  krecipes/trunk/krecipes.install

------------------+
 PKGBUILD         |   15 +++++++++++----
 krecipes.install |   12 ------------
 2 files changed, 11 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-07 13:02:52 UTC (rev 174097)
+++ PKGBUILD	2016-05-07 13:14:40 UTC (rev 174098)
@@ -6,7 +6,7 @@
 
 pkgname=krecipes
 pkgver=2.1.0
-pkgrel=3
+pkgrel=4
 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/"
@@ -14,10 +14,17 @@
 depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme')
 makedepends=('cmake' 'automoc4' 'docbook-xsl')
 optdepends=('mariadb' 'postgresql')
-install=${pkgname}.install
-source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
-md5sums=('422ff3df8ab5aac56617d87942762e88')
+source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"
+        krecipes-gcc6.patch::"https://quickgit.kde.org/?p=krecipes.git&a=commitdiff&h=f6d4f709&o=plain")
+md5sums=('422ff3df8ab5aac56617d87942762e88'
+         '0fc9067a54403bdea2a40b74467970dd')
 
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with GCC 6
+  patch -p1 -i ../krecipes-gcc6.patch
+}
+
 build() {
   cd ${srcdir}
 

Deleted: krecipes.install
===================================================================
--- krecipes.install	2016-05-07 13:02:52 UTC (rev 174097)
+++ krecipes.install	2016-05-07 13:14:40 UTC (rev 174098)
@@ -1,12 +0,0 @@
-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