[arch-commits] Commit in tidy/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Fri Dec 24 10:23:14 UTC 2021
Date: Friday, December 24, 2021 @ 10:23:14
Author: jelle
Revision: 433026
archrelease: copy trunk to extra-x86_64
Added:
tidy/repos/extra-x86_64/PKGBUILD
(from rev 433025, tidy/trunk/PKGBUILD)
Deleted:
tidy/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 88 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 45 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-24 10:23:08 UTC (rev 433025)
+++ PKGBUILD 2021-12-24 10:23:14 UTC (rev 433026)
@@ -1,43 +0,0 @@
-# Maintainer:
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Markus Meissner <markus at meissna.de>
-
-pkgname=tidy
-pkgver=5.8.0
-_commit=9f8d957e4d9c164b0aea10a36c7933d67517abb1
-pkgrel=1
-pkgdesc="A tool to tidy down your HTML code to a clean style"
-arch=(x86_64)
-url="https://www.html-tidy.org/"
-license=(custom)
-depends=(glibc)
-makedepends=(cmake libxslt)
-conflicts=(tidyhtml)
-provides=(tidyhtml)
-replaces=(tidyhtml)
-source=("$pkgname-$_commit.tar.gz::https://github.com/htacg/tidy-html5/archive/$_commit.tar.gz")
-sha512sums=('085da1bc97ab20a65d1104bd13e39ba7eb7a51407553e9237e8efda0a2c3b6efcb2e957a670731482ac17b639f12fe59a1f52740e82d4367410fe41e62afc8a2')
-
-prepare() {
- mv tidy-html5-{$_commit,$pkgver}
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../tidy-html5-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-
-# Compatibility symlinks until everything is ported
- ln -s tidybuffio.h "$pkgdir"/usr/include/buffio.h
- ln -s tidyplatform.h "$pkgdir"/usr/include/platform.h
-
- install -Dm644 "$srcdir"/$pkgname-html5-$pkgver/README/LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: tidy/repos/extra-x86_64/PKGBUILD (from rev 433025, tidy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-24 10:23:14 UTC (rev 433026)
@@ -0,0 +1,45 @@
+# Maintainer:
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Markus Meissner <markus at meissna.de>
+
+pkgname=tidy
+pkgver=5.8.0
+_commit=9f8d957e4d9c164b0aea10a36c7933d67517abb1
+pkgrel=2
+pkgdesc="A tool to tidy down your HTML code to a clean style"
+arch=(x86_64)
+url="https://www.html-tidy.org/"
+license=(custom)
+depends=(glibc)
+makedepends=(cmake libxslt)
+conflicts=(tidyhtml)
+provides=(tidyhtml)
+replaces=(tidyhtml)
+source=("$pkgname-$_commit.tar.gz::https://github.com/htacg/tidy-html5/archive/$_commit.tar.gz")
+sha512sums=('085da1bc97ab20a65d1104bd13e39ba7eb7a51407553e9237e8efda0a2c3b6efcb2e957a670731482ac17b639f12fe59a1f52740e82d4367410fe41e62afc8a2')
+
+prepare() {
+ mv tidy-html5-{$_commit,$pkgver}
+ mkdir -p build
+}
+
+build() {
+ cd build
+ export CFLAGS+=" -ffat-lto-objects"
+ export CXXFLAGS+=" -ffat-lto-objects"
+ cmake ../tidy-html5-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+# Compatibility symlinks until everything is ported
+ ln -s tidybuffio.h "$pkgdir"/usr/include/buffio.h
+ ln -s tidyplatform.h "$pkgdir"/usr/include/platform.h
+
+ install -Dm644 "$srcdir"/$pkgname-html5-$pkgver/README/LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list