[arch-commits] Commit in glabels/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Dec 24 18:27:02 UTC 2018


    Date: Monday, December 24, 2018 @ 18:27:02
  Author: bgyorgy
Revision: 417846

archrelease: copy trunk to community-x86_64

Added:
  glabels/repos/community-x86_64/PKGBUILD
    (from rev 417845, glabels/trunk/PKGBUILD)
Deleted:
  glabels/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-24 18:26:56 UTC (rev 417845)
+++ PKGBUILD	2018-12-24 18:27:02 UTC (rev 417846)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: yugrotavele <yugrotavele at archlinux dot us>
-# Contributor: Damir Perisa <damir at archlinux.org>
-
-pkgname=glabels
-pkgver=3.4.1
-pkgrel=1
-pkgdesc="Creating labels and business cards the very easy way"
-arch=('x86_64')
-url="http://glabels.org/"
-license=('GPL' 'LGPL')
-depends=('evolution-data-server' 'iec16022' 'qrencode' 'zint')
-makedepends=('intltool' 'itstool' 'python')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-schemas-compile
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: glabels/repos/community-x86_64/PKGBUILD (from rev 417845, glabels/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-24 18:27:02 UTC (rev 417846)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: yugrotavele <yugrotavele at archlinux dot us>
+# Contributor: Damir Perisa <damir at archlinux.org>
+
+pkgname=glabels
+pkgver=3.4.1
+pkgrel=2
+pkgdesc="Creating labels and business cards the very easy way"
+arch=('x86_64')
+url="http://glabels.org/"
+license=('GPL' 'LGPL')
+depends=('evolution-data-server' 'iec16022' 'qrencode' 'zint')
+makedepends=('intltool' 'itstool' 'python')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Don't use legacy path for AppStream metainfo file
+  # https://gitlab.gnome.org/GNOME/glabels/merge_requests/2
+  sed -i 's|appdatadir = $(datadir)/appdata|appdatadir = $(datadir)/metainfo|' data/appdata/Makefile.{am,in}
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list