[arch-commits] Commit in glabels/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sat Jun 5 16:50:02 UTC 2021


    Date: Saturday, June 5, 2021 @ 16:50:01
  Author: bgyorgy
Revision: 956127

Minor changes

Modified:
  glabels/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-05 16:41:25 UTC (rev 956126)
+++ PKGBUILD	2021-06-05 16:50:01 UTC (rev 956127)
@@ -5,20 +5,17 @@
 pkgname=glabels
 pkgver=3.4.1
 pkgrel=8
-pkgdesc="Creating labels and business cards the very easy way"
+pkgdesc='Creating labels and business cards the very easy way'
 arch=('x86_64')
-url="https://glabels.org/"
-license=('GPL' 'LGPL')
+url='https://gitlab.gnome.org/Archive/glabels'
+license=('GPL3')
 depends=('evolution-data-server' 'iec16022' 'qrencode')
 makedepends=('intltool' 'itstool' 'python')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+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}
 }
 
@@ -25,8 +22,7 @@
 build() {
   cd $pkgname-$pkgver
   CFLAGS+=" -fcommon"
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-schemas-compile
+  ./configure --prefix=/usr --disable-schemas-compile
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



More information about the arch-commits mailing list