[arch-commits] Commit in glabels/repos (2 files)

Jan Steffens heftig at archlinux.org
Sun Mar 8 07:45:27 UTC 2020


    Date: Sunday, March 8, 2020 @ 07:45:27
  Author: heftig
Revision: 591470

archrelease: copy trunk to community-testing-x86_64

Added:
  glabels/repos/community-testing-x86_64/
  glabels/repos/community-testing-x86_64/PKGBUILD
    (from rev 591467, glabels/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: glabels/repos/community-testing-x86_64/PKGBUILD (from rev 591467, glabels/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-03-08 07:45:27 UTC (rev 591470)
@@ -0,0 +1,36 @@
+# 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=6
+pkgdesc="Creating labels and business cards the very easy way"
+arch=('x86_64')
+url="https://glabels.org/"
+license=('GPL' 'LGPL')
+depends=('evolution-data-server' 'iec16022' 'qrencode')
+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
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list