[arch-commits] Commit in liblrdf/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Feb 18 23:34:47 UTC 2018


    Date: Sunday, February 18, 2018 @ 23:34:46
  Author: dvzrv
Revision: 296277

upgpkg: liblrdf 0.6.1-1

Upgrading to 0.6.1. Adding various docs.
Moving autoreconf to prepare().

Modified:
  liblrdf/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-18 23:17:27 UTC (rev 296276)
+++ PKGBUILD	2018-02-18 23:34:46 UTC (rev 296277)
@@ -1,25 +1,33 @@
 # $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
 
 pkgname=liblrdf
-pkgver=0.5.0
-pkgrel=3
+pkgver=0.6.1
+pkgrel=1
 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=('GPL')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/swh/LRDF/tarball/${pkgver})
-md5sums=('005ea24152620da7f2ee80a78e17f784')
+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 "${srcdir}"/swh-LRDF-*
-  autoreconf -vfi
+  cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "${srcdir}"/swh-LRDF-*
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm644 {AUTHORS,ChangeLog,NEWS,README}
 }



More information about the arch-commits mailing list