🔒 Repository is read-only – file editing is disabled.

recipes/utils/discount/PAGBUILD.yaml main

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: discount
pkgver: '3.0.1.3'
pkgrel: '1'
pkgdesc: 'A Markdown implementation written in C'
url: 'https://www.pell.portland.or.us/~orc/Code/discount/'
arch: x86_64
license:
- 'BSD-3-Clause'

depends: []
makedepends: []
source:
- 'https://github.com/Orc/discount/archive/refs/tags/v${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-*/
  ./configure.sh \
   --prefix=/usr \
   --enable-all-features \
   --with-fenced-code \
   --shared
   make

   # 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

package: |
  true