[arch-commits] Commit in lowdown/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Mon Mar 28 03:10:27 UTC 2022
Date: Monday, March 28, 2022 @ 03:10:26
Author: grawlinson
Revision: 1177334
archrelease: copy trunk to community-x86_64
Added:
lowdown/repos/community-x86_64/PKGBUILD
(from rev 1177333, lowdown/trunk/PKGBUILD)
Deleted:
lowdown/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 55 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-28 03:09:46 UTC (rev 1177333)
+++ PKGBUILD 2022-03-28 03:10:26 UTC (rev 1177334)
@@ -1,57 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Adrián Pérez de Castro <aperez at igalia.com>
-
-pkgname=lowdown
-pkgdesc="A simple Markdown translator"
-pkgver=0.11.0
-pkgrel=1
-license=('ISC')
-url="https://kristaps.bsd.lv/lowdown"
-arch=('x86_64')
-depends=('glibc' 'libmd')
-makedepends=('git')
-_commit='1d91c10351eeaa51340f1c2d22fa2920adc10e32' # VERSION_0_11_0
-source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- 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
-
- # ensure LDFLAGS is passed correctly
- sed -i "s/^LDFLAGS.*/LDFLAGS = $LDFLAGS/" Makefile.configure
-
- make
-}
-
-check () {
- make -C "$pkgname" regress
-}
-
-package () {
- cd "$pkgname"
-
- # package
- make DESTDIR="$pkgdir" install
-
- # symlink unversioned to versioned shared library
- local LIBVER=$(grep "^LIBVER" Makefile | sed "s/.*= //")
- ln -sf "/usr/lib/liblowdown.so.$LIBVER" "$pkgdir/usr/lib/liblowdown.so"
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
-}
Copied: lowdown/repos/community-x86_64/PKGBUILD (from rev 1177333, lowdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-28 03:10:26 UTC (rev 1177334)
@@ -0,0 +1,55 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Adrián Pérez de Castro <aperez at igalia.com>
+
+pkgname=lowdown
+pkgdesc="A simple Markdown translator"
+pkgver=0.11.2
+pkgrel=1
+license=('ISC')
+url="https://kristaps.bsd.lv/lowdown"
+arch=('x86_64')
+depends=('glibc' 'libmd')
+makedepends=('git')
+_commit='cc1cb9849e84265e21c6c659f3edab5c8058894f'
+source=("$pkgname::git+https://github.com/kristapsdz/lowdown.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed -e 's/^VERSION_//' -e 's/_/./g'
+}
+
+build () {
+ cd "$pkgname"
+
+ ./configure \
+ PREFIX=/usr \
+ MANDIR=/usr/share/man
+
+ # ensure LDFLAGS is passed correctly
+ sed -i "s/^LDFLAGS.*/LDFLAGS = $LDFLAGS/" Makefile.configure
+
+ make
+}
+
+check () {
+ make -C "$pkgname" regress
+}
+
+package () {
+ cd "$pkgname"
+
+ # package
+ make DESTDIR="$pkgdir" \
+ install \
+ install_lib_common \
+ install_shared
+
+ # symlink unversioned to versioned shared library
+ local LIBVER=$(grep "^LIBVER" Makefile | sed "s/.*= //")
+ ln -sf "/usr/lib/liblowdown.so.$LIBVER" "$pkgdir/usr/lib/liblowdown.so"
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
+}
More information about the arch-commits
mailing list