[arch-commits] Commit in libreplaygain/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:15:49 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:15:49
  Author: felixonmars
Revision: 660058

archrelease: copy trunk to community-staging-x86_64

Added:
  libreplaygain/repos/community-staging-x86_64/
  libreplaygain/repos/community-staging-x86_64/PKGBUILD
    (from rev 660057, libreplaygain/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: libreplaygain/repos/community-staging-x86_64/PKGBUILD (from rev 660057, libreplaygain/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:15:49 UTC (rev 660058)
@@ -0,0 +1,35 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=libreplaygain
+pkgver=475
+pkgrel=4
+pkgdesc="A library to adjust audio gain"
+arch=('x86_64')
+url="https://www.musepack.net/index.php?pg=src"
+license=('LGPL')
+depends=('glibc')
+makedepends=('cmake')
+source=("https://files.musepack.net/source/${pkgname}_r${pkgver}.tar.gz")
+sha512sums=('b5fce8daf6aa8c8e0adb4c80089b43824b6503cb7d11e0c47c779c57a933b32f0c24722ca3fcf49711199fddcbb92c3fc13876f22418ca1521c7b8e27ba9d409')
+
+build() {
+  cd "${srcdir}"
+
+  mkdir build
+  cd build
+  cmake ../${pkgname}_r${pkgver}/ \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+
+  make DESTDIR="${pkgdir}" install
+
+  install -d "${pkgdir}"/usr/include/replaygain/
+  install -Dm644 "${srcdir}"/${pkgname}_r${pkgver}/include/replaygain/* \
+    "${pkgdir}"/usr/include/replaygain/
+}



More information about the arch-commits mailing list