Date: Thursday, January 26, 2023 @ 11:25:05
  Author: heftig
Revision: 467394

archrelease: copy trunk to extra-x86_64

Added:
  tinycompress/repos/extra-x86_64/
  tinycompress/repos/extra-x86_64/PKGBUILD
    (from rev 467393, tinycompress/trunk/PKGBUILD)

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

Copied: tinycompress/repos/extra-x86_64/PKGBUILD (from rev 467393, 
tinycompress/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD                               (rev 0)
+++ extra-x86_64/PKGBUILD       2023-01-26 11:25:05 UTC (rev 467394)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=tinycompress
+pkgver=1.2.8
+pkgrel=1
+pkgdesc="ALSA compressed device interface"
+url="https://github.com/alsa-project/tinycompress";
+arch=(x86_64)
+license=(BSD LGPL2.1)
+depends=(glibc)
+makedepends=(ffmpeg git)
+optdepends=("ffmpeg: fcplay utility")
+provides=(libtinycompress.so)
+options=(debug)
+_commit=750ebbe68e48178fae1732aa169fdc8f46fec6fa  # tags/v1.2.8^0
+source=("git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd tinycompress
+  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  mkdir -p build
+
+  cd tinycompress
+  ./autogen.sh
+}
+
+build() {
+  local configure_options=(
+    --prefix=/usr
+    --sysconfdir=/etc
+    --localstatedir=/var
+    --enable-fcplay
+  )
+
+  cd build
+  ../tinycompress/configure "${configure_options[@]}"
+  make
+}
+
+check() {
+  make -C build check
+}
+
+package() {
+  make -C build install DESTDIR="$pkgdir"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 tinycompress/COPYING
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to