[arch-commits] Commit in lowdown/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Mon Mar 28 03:09:47 UTC 2022
Date: Monday, March 28, 2022 @ 03:09:46
Author: grawlinson
Revision: 1177333
upgpkg: lowdown 0.11.2-1
New upstream release.
Modified:
lowdown/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-28 01:33:51 UTC (rev 1177332)
+++ PKGBUILD 2022-03-28 03:09:46 UTC (rev 1177333)
@@ -3,7 +3,7 @@
pkgname=lowdown
pkgdesc="A simple Markdown translator"
-pkgver=0.11.0
+pkgver=0.11.2
pkgrel=1
license=('ISC')
url="https://kristaps.bsd.lv/lowdown"
@@ -10,7 +10,7 @@
arch=('x86_64')
depends=('glibc' 'libmd')
makedepends=('git')
-_commit='1d91c10351eeaa51340f1c2d22fa2920adc10e32' # VERSION_0_11_0
+_commit='cc1cb9849e84265e21c6c659f3edab5c8058894f'
source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
b2sums=('SKIP')
@@ -20,17 +20,12 @@
git describe --tags | sed -e 's/^VERSION_//' -e 's/_/./g'
}
-prepare() {
- cd "$pkgname"
-
- # do not install static library
- sed -i '/^\t$(INSTALL_LIB) liblowdown.a/d' Makefile
-}
-
build () {
cd "$pkgname"
- ./configure PREFIX=/usr MANDIR=/usr/share/man
+ ./configure \
+ PREFIX=/usr \
+ MANDIR=/usr/share/man
# ensure LDFLAGS is passed correctly
sed -i "s/^LDFLAGS.*/LDFLAGS = $LDFLAGS/" Makefile.configure
@@ -46,7 +41,10 @@
cd "$pkgname"
# package
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" \
+ install \
+ install_lib_common \
+ install_shared
# symlink unversioned to versioned shared library
local LIBVER=$(grep "^LIBVER" Makefile | sed "s/.*= //")
More information about the arch-commits
mailing list