[arch-commits] Commit in discount/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Aug 27 19:21:42 UTC 2020


    Date: Thursday, August 27, 2020 @ 19:21:42
  Author: arojas
Revision: 394781

archrelease: copy trunk to extra-x86_64

Added:
  discount/repos/extra-x86_64/PKGBUILD
    (from rev 394780, discount/trunk/PKGBUILD)
Deleted:
  discount/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-27 19:21:19 UTC (rev 394780)
+++ PKGBUILD	2020-08-27 19:21:42 UTC (rev 394781)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor:  Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
-# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski dot pl>
-# Contributor: Patrick McCarty <pnorcks at gmail dot com>
-
-pkgname=discount
-pkgver=2.2.6
-pkgrel=2
-pkgdesc='A Markdown implementation written in C'
-arch=(x86_64)
-url="https://www.pell.portland.or.us/~orc/Code/discount/"
-license=('custom:BSD')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/Orc/discount/archive/v$pkgver.tar.gz")
-sha256sums=('0beb98a66a6e38ed125e2d0a161ff6b461f6a38538bb72498766f376c94a0ad3')
-depends=(glibc)
-conflicts=(markdown)
-provides=(markdown)
-replaces=(markdown)
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure.sh --prefix=/usr --enable-all-features --with-fenced-code --shared
-  make -j1
-}
-
-package() {
-  cd $pkgname-$pkgver
-  # fix ldconfig call
-  sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh
-
-  make DESTDIR="$pkgdir" install.everything
-  install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: discount/repos/extra-x86_64/PKGBUILD (from rev 394780, discount/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-27 19:21:42 UTC (rev 394781)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor:  Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski dot pl>
+# Contributor: Patrick McCarty <pnorcks at gmail dot com>
+
+pkgname=discount
+pkgver=2.2.7
+pkgrel=1
+pkgdesc='A Markdown implementation written in C'
+arch=(x86_64)
+url="https://www.pell.portland.or.us/~orc/Code/discount/"
+license=('custom:BSD')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/Orc/discount/archive/v$pkgver.tar.gz")
+sha256sums=('72c1325ddfc40871d6810f1e272cf2d45b361f26357eb38f170fd04d737bb9f2')
+depends=(glibc)
+conflicts=(markdown)
+provides=(markdown)
+replaces=(markdown)
+
+prepare() {
+  sed -e 's|FLAGS=\"$AC_CFLAGS -shared\"|FLAGS="$AC_CFLAGS $AC_LDFLAGS -shared"|g' -i $pkgname-$pkgver/configure.inc # Honor system LDFLAGS in libmarkdown
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure.sh --prefix=/usr --enable-all-features --with-fenced-code --shared
+  make -j1
+}
+
+package() {
+  cd $pkgname-$pkgver
+  # fix ldconfig call
+  sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh
+
+  make DESTDIR="$pkgdir" install.everything
+  install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list