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

Alexander Rødseth arodseth at gemini.archlinux.org
Sun Jan 30 11:04:32 UTC 2022


    Date: Sunday, January 30, 2022 @ 11:04:32
  Author: arodseth
Revision: 1120217

archrelease: copy trunk to community-x86_64

Added:
  libcss/repos/community-x86_64/PKGBUILD
    (from rev 1120216, libcss/trunk/PKGBUILD)
Deleted:
  libcss/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 39 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-30 11:04:25 UTC (rev 1120216)
+++ PKGBUILD	2022-01-30 11:04:32 UTC (rev 1120217)
@@ -1,43 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=libcss
-pkgver=0.9.1
-pkgrel=2
-pkgdesc='CSS parser and selection engine'
-arch=(x86_64)
-url='https://www.netsurf-browser.org/projects/libcss/'
-license=(MIT)
-makedepends=(netsurf-buildsystem)
-depends=('libparserutils>=0.2.4' 'libwapcaplet>=0.4.3')
-source=("https://download.netsurf-browser.org/libs/releases/libcss-$pkgver-src.tar.gz")
-sha256sums=('d2dce16e93392e8d6a7209420d47c2d56a3811701a0e81a724fc541c63d3c6dc')
-
-prepare() {
-  sed -i 's,_BSD_SOURCE,_DEFAULT_SOURCE,' "$pkgname-$pkgver/Makefile"
-}
-
-build() {
-  export CFLAGS="$CFLAGS -w"
-  make -C "$pkgname-$pkgver" \
-    INCLUDEDIR=include \
-    LIBDIR=lib \
-    PREFIX=/usr \
-    COMPONENT_TYPE=lib-shared
-}
-
-package() {
-  export CFLAGS="$CFLAGS -w"
-  make -C "$pkgname-$pkgver" \
-    INCLUDEDIR=include \
-    LIBDIR=lib \
-    PREFIX=/usr \
-    DESTDIR="$pkgdir" \
-    install
-
-  install -Dm644 "$pkgname-$pkgver/COPYING" \
-    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim: ts=2 sw=2 et:

Copied: libcss/repos/community-x86_64/PKGBUILD (from rev 1120216, libcss/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-30 11:04:32 UTC (rev 1120217)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=libcss
+pkgver=0.9.1
+pkgrel=3
+pkgdesc='CSS parser and selection engine'
+arch=(x86_64)
+url='https://www.netsurf-browser.org/projects/libcss/'
+license=(MIT)
+makedepends=(netsurf-buildsystem)
+depends=('libparserutils>=0.2.4' 'libwapcaplet>=0.4.3')
+source=("https://download.netsurf-browser.org/libs/releases/libcss-$pkgver-src.tar.gz")
+b2sums=('32206403f77997e6692eed00c9233e6f49f08efc2515901a8bef7590883e44ef320511368fe5a67968102911d849696a4419735c7f6691f0f272fcc3b9a000d8')
+
+prepare() {
+  sed -i 's,_BSD_SOURCE,_DEFAULT_SOURCE,' "$pkgname-$pkgver/Makefile"
+}
+
+build() {
+  CFLAGS+=' -ffat-lto-objects -w'
+  make -C $pkgname-$pkgver \
+    COMPONENT_TYPE=lib-shared \
+    INCLUDEDIR=include \
+    LIBDIR=lib \
+    PREFIX=/usr
+}
+
+package() {
+  make -C $pkgname-$pkgver \
+    DESTDIR="$pkgdir" \
+    INCLUDEDIR=include \
+    LIBDIR=lib \
+    PREFIX=/usr \
+    install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list