[arch-commits] Commit in liblrdf/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Aug 7 19:25:15 UTC 2019


    Date: Wednesday, August 7, 2019 @ 19:25:15
  Author: dvzrv
Revision: 498203

archrelease: copy trunk to community-x86_64

Added:
  liblrdf/repos/community-x86_64/PKGBUILD
    (from rev 498202, liblrdf/trunk/PKGBUILD)
Deleted:
  liblrdf/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 19:25:10 UTC (rev 498202)
+++ PKGBUILD	2019-08-07 19:25:15 UTC (rev 498203)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=liblrdf
-pkgver=0.6.1
-pkgrel=2
-pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
-arch=('x86_64')
-url="https://github.com/swh/LRDF"
-depends=('raptor' 'ladspa')
-license=('GPL2')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/swh/LRDF/archive/v${pkgver}.tar.gz")
-sha512sums=('7732813eec704aef984d056de254e4fa049fdd0a7444b6a88f75f012afe9c587cbd1295f027c77361fa42bc097cdce9d9cabdba6b86e99a3c14805d84258df1c')
-
-prepare() {
-  mv -v "LRDF-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
-  sed -e 's,raptor.h,raptor2/raptor.h,' -i lrdf.h
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm644 {AUTHORS,ChangeLog,NEWS,README}
-}

Copied: liblrdf/repos/community-x86_64/PKGBUILD (from rev 498202, liblrdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-07 19:25:15 UTC (rev 498203)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=liblrdf
+pkgver=0.6.1
+pkgrel=3
+pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
+arch=('x86_64')
+url="https://github.com/swh/LRDF"
+depends=('raptor')
+makedepends=('ladspa')
+provides=('liblrdf.so')
+license=('GPL2')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/swh/LRDF/archive/v${pkgver}.tar.gz")
+sha512sums=('7732813eec704aef984d056de254e4fa049fdd0a7444b6a88f75f012afe9c587cbd1295f027c77361fa42bc097cdce9d9cabdba6b86e99a3c14805d84258df1c')
+
+prepare() {
+  mv -v "LRDF-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # raptor.h changed location
+  export CXXFLAGS="$(pkg-config --cflags raptor2) ${CXXFLAGS}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list