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

David Runge dvzrv at archlinux.org
Wed Aug 7 21:12:45 UTC 2019


    Date: Wednesday, August 7, 2019 @ 21:12:44
  Author: dvzrv
Revision: 498250

upgpkg: liboggz 1.1.1-6

Removing pkg-config from makedepends and exchanging sh with bash in depends. Adding liboggz.so to provides. Minor cleanup.

Modified:
  liboggz/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 20:49:41 UTC (rev 498249)
+++ PKGBUILD	2019-08-07 21:12:44 UTC (rev 498250)
@@ -6,19 +6,19 @@
 
 pkgname=liboggz
 pkgver=1.1.1
-pkgrel=5
+pkgrel=6
 pkgdesc="A simple programming interface for reading and writing Ogg files and streams"
 arch=('x86_64')
 url="https://www.xiph.org/oggz/"
-license=('custom:BSD')
-depends=('libogg' 'sh')
-makedepends=('doxygen' 'pkg-config')
+license=('BSD')
+depends=('bash' 'libogg')
+makedepends=('doxygen')
+provides=('liboggz.so')
 source=("https://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('8f5fc8ca49cb6f7a1160a9c1932876b771d55985d59ddc1f48497dfc08641414a58244d7a7e52bfcecdb69f52913d0123efd8f92513f8b9064e4abe1442f2cba')
 
 build() {
   cd "${pkgname}-${pkgver}"
-
   ./configure --prefix=/usr \
               --enable-static=no
   make
@@ -26,15 +26,13 @@
 
 package() {
   cd "${pkgname}-${pkgver}"
-
   make DESTDIR="${pkgdir}" install
   # license
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
   # bash completion
-  install -Dm644 bash-completion/oggz "${pkgdir}/usr/share/bash-completion/completions/oggz"
-  install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
-  install -Dm644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog"
-  install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
-  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
-  install -Dm644 TODO "${pkgdir}/usr/share/doc/${pkgname}/TODO"
+  install -vDm 644 bash-completion/oggz \
+    -t "${pkgdir}/usr/share/bash-completion/completions/"
+  # docs
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
 }


More information about the arch-commits mailing list