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

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 08:35:40 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:35:39
  Author: foutrelis
Revision: 386386

archrelease: copy trunk to staging-x86_64

Added:
  discount/repos/staging-x86_64/
  discount/repos/staging-x86_64/PKGBUILD
    (from rev 386384, discount/trunk/PKGBUILD)

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

Copied: discount/repos/staging-x86_64/PKGBUILD (from rev 386384, discount/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:35:39 UTC (rev 386386)
@@ -0,0 +1,33 @@
+# 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
+}



More information about the arch-commits mailing list