[arch-commits] Commit in discount/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Feb 28 08:33:13 UTC 2018
Date: Wednesday, February 28, 2018 @ 08:33:12
Author: arojas
Revision: 317612
Update to 2.2.3
Modified:
discount/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-28 08:07:21 UTC (rev 317611)
+++ PKGBUILD 2018-02-28 08:33:12 UTC (rev 317612)
@@ -4,32 +4,30 @@
# Contributor: Patrick McCarty <pnorcks at gmail dot com>
pkgname=discount
-pkgver=2.2.2
-pkgrel=5
+pkgver=2.2.3
+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=("http://www.pell.portland.or.us/~orc/Code/$pkgname/$pkgname-$pkgver.tar.bz2")
-sha256sums=('ec7916731e3ef8516336333f8b7aa9e2af51e57c0017b1e03fa43f1ba6978f64')
+sha256sums=('a8ffbcdaf03923fa6878dcd2373a0a2592975f6a3b137945097302ac623fe99c')
depends=(glibc)
conflicts=(markdown)
provides=(markdown)
replaces=(markdown)
-prepare() {
- cd $pkgname-$pkgver
- sed -e '/test.*librarian.sh/d' -i configure.inc
-}
-
build() {
cd $pkgname-$pkgver
- ./configure.sh --prefix=/usr --enable-all-features --with-fenced-code --shared --pkg-config
+ ./configure.sh --prefix=/usr --enable-all-features --with-fenced-code --shared
make
}
package() {
cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install.everything "$pkgdir"/usr/lib/pkgconfig/libmarkdown.pc
+ # 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