[arch-commits] Commit in discount/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Jun 3 19:29:00 UTC 2022
Date: Friday, June 3, 2022 @ 19:29:00
Author: arojas
Revision: 447524
archrelease: copy trunk to extra-x86_64
Added:
discount/repos/extra-x86_64/PKGBUILD
(from rev 447523, discount/trunk/PKGBUILD)
Deleted:
discount/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-03 19:28:50 UTC (rev 447523)
+++ PKGBUILD 2022-06-03 19:29:00 UTC (rev 447524)
@@ -1,41 +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.7
-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"
- discount-ldflags.patch::"https://github.com/Orc/discount/commit/55cea9c5.patch")
-sha256sums=('72c1325ddfc40871d6810f1e272cf2d45b361f26357eb38f170fd04d737bb9f2'
- '7eced2472fdbe25badc13c35dfd6920b68b5a208889ee031ef0c060c093cc89b')
-depends=(glibc)
-
-prepare() {
- patch -d $pkgname-$pkgver -p1 -i ../discount-ldflags.patch # Honor system ldflags
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure.sh \
- --prefix=/usr \
- --enable-all-features \
- --with-fenced-code \
- --github-checkbox \
- --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 447523, discount/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-03 19:29:00 UTC (rev 447524)
@@ -0,0 +1,42 @@
+# 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.b
+_pkgver=2.2.7b
+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=(https://github.com/Orc/discount/archive/v$_pkgver/$pkgname-$pkgver.tar.gz
+ discount-ldflags.patch::https://github.com/Orc/discount/commit/55cea9c5.patch)
+sha256sums=('48343272aa93ae913187ff678b3e52efa722f133e1efcaddc20cf775e8a517ec'
+ '7eced2472fdbe25badc13c35dfd6920b68b5a208889ee031ef0c060c093cc89b')
+depends=(glibc)
+
+prepare() {
+ patch -d $pkgname-$_pkgver -p1 -i ../discount-ldflags.patch # Honor system ldflags
+}
+
+build() {
+ cd $pkgname-$_pkgver
+ ./configure.sh \
+ --prefix=/usr \
+ --enable-all-features \
+ --with-fenced-code \
+ --github-checkbox \
+ --shared
+ make
+}
+
+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