[arch-commits] Commit in libfreeaptx/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu Jul 29 20:24:59 UTC 2021
Date: Thursday, July 29, 2021 @ 20:24:59
Author: heftig
Revision: 420688
archrelease: copy trunk to extra-x86_64
Added:
libfreeaptx/repos/extra-x86_64/
libfreeaptx/repos/extra-x86_64/PKGBUILD
(from rev 420687, libfreeaptx/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: libfreeaptx/repos/extra-x86_64/PKGBUILD (from rev 420687, libfreeaptx/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2021-07-29 20:24:59 UTC (rev 420688)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=libfreeaptx
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Open Source aptX codec library"
+url="https://github.com/iamthehorker/libfreeaptx"
+arch=(x86_64)
+license=(LGPL)
+depends=(glibc)
+makedepends=(git)
+provides=(libfreeaptx.so)
+_commit=0485c73bc12f1f860d892bb7166730b3412395bd # tags/0.1.1^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