Date: Friday, March 3, 2023 @ 16:28:07
  Author: heftig
Revision: 470177

archrelease: copy trunk to staging-x86_64

Added:
  tinycompress/repos/staging-x86_64/
  tinycompress/repos/staging-x86_64/PKGBUILD
    (from rev 470175, tinycompress/trunk/PKGBUILD)

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

Copied: tinycompress/repos/staging-x86_64/PKGBUILD (from rev 470175, 
tinycompress/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2023-03-03 16:28:07 UTC (rev 470177)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=tinycompress
+pkgver=1.2.8
+pkgrel=2
+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