[arch-commits] Commit in libopenaptx/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Dec 15 12:54:59 UTC 2020


    Date: Tuesday, December 15, 2020 @ 12:54:57
  Author: heftig
Revision: 404354

archrelease: copy trunk to extra-x86_64

Added:
  libopenaptx/repos/extra-x86_64/
  libopenaptx/repos/extra-x86_64/PKGBUILD
    (from rev 404353, libopenaptx/trunk/PKGBUILD)

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

Copied: libopenaptx/repos/extra-x86_64/PKGBUILD (from rev 404353, libopenaptx/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-12-15 12:54:57 UTC (rev 404354)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=libopenaptx
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Open Source aptX codec library"
+url="https://github.com/pali/libopenaptx"
+arch=(x86_64)
+license=(LGPL)
+depends=(glibc)
+makedepends=(git)
+provides=(libopenaptx.so)
+_commit=2459ed4686eaef0a19dfa3f330a960813c5f60de  # tags/0.2.0^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+_make() {
+  make CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+    PREFIX=/usr "$@"
+}
+
+build() {
+  cd $pkgname
+  _make
+}
+
+package() {
+  cd $pkgname
+  _make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list