Date: Wednesday, October 26, 2022 @ 17:32:47
Author: foutrelis
Revision: 1336432
archrelease: copy trunk to community-staging-x86_64
Added:
glabels/repos/community-staging-x86_64/
glabels/repos/community-staging-x86_64/PKGBUILD
(from rev 1336431, glabels/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: glabels/repos/community-staging-x86_64/PKGBUILD (from rev 1336431,
glabels/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-10-26 17:32:47 UTC (rev 1336432)
@@ -0,0 +1,33 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: yugrotavele <yugrotavele at archlinux dot us>
+# Contributor: Damir Perisa <[email protected]>
+
+pkgname=glabels
+pkgver=3.4.1
+pkgrel=9
+pkgdesc='Creating labels and business cards the very easy way'
+arch=('x86_64')
+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")
+sha256sums=('18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's|appdatadir = $(datadir)/appdata|appdatadir = $(datadir)/metainfo|'
data/appdata/Makefile.{am,in}
+}
+
+build() {
+ cd $pkgname-$pkgver
+ CFLAGS+=" -fcommon"
+ ./configure --prefix=/usr --disable-schemas-compile
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}