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

David Runge dvzrv at archlinux.org
Sat Dec 14 18:28:49 UTC 2019


    Date: Saturday, December 14, 2019 @ 18:28:48
  Author: dvzrv
Revision: 371496

upgpkg: portsmf 234-1

Upgrading to revision 234 (also ancient :( ). Updating maintainer info. Adding libportSMF.so to provides. Minor cleanups.

Modified:
  portsmf/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-14 17:30:43 UTC (rev 371495)
+++ PKGBUILD	2019-12-14 18:28:48 UTC (rev 371496)
@@ -1,16 +1,18 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
 
 pkgname=portsmf
-pkgver=228
-pkgrel=3
+pkgver=234
+pkgrel=1
 pkgdesc="Portable library for reading/writing Standard MIDI Files"
 arch=('x86_64')
 url="https://sourceforge.net/p/portmedia/wiki/portsmf/"
 license=('MIT')
-depends=('gcc-libs')
+depends=('gcc-libs' 'glibc')
 makedepends=('subversion')
+provides=('libportSMF.so')
 options=('!staticlibs')
-source=(portsmf::svn+https://svn.code.sf.net/p/portmedia/code/portsmf/trunk#revision=$pkgver
+source=("portsmf::svn+https://svn.code.sf.net/p/portmedia/code/portsmf/trunk#revision=$pkgver"
         portsmf-shared.patch)
 sha512sums=('SKIP'
             'f2961c2da2e5b08e60cbbf7c3d47687ce75ad4f6d7ee1c4f4a5ef1212ef928fe1c61212dc11081155117e2adf51c9ac280e21f791f1da87f69a0dec00605426a')
@@ -22,20 +24,23 @@
 
 prepare() {
   cd $pkgname
+  patch -Np1 -i "${srcdir}/portsmf-shared.patch"
+  autoreconf -vfi
   chmod 755 configure
-  patch -p1 -i "${srcdir}/portsmf-shared.patch"
-  autoreconf -f -i
 }
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include/portsmf
-  make 
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib \
+              --includedir=/usr/include/portsmf
+  make
 }
 
 package() {
   cd $pkgname
   make DESTDIR="${pkgdir}" includedir=/usr/include/portsmf install
-  install -D -m644 portSMF.pc "${pkgdir}/usr/lib/pkgconfig/portSMF.pc"
-  install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 portSMF.pc -t "${pkgdir}/usr/lib/pkgconfig/"
+  install -vDm 644 license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list