Name libavc1394
Description Library to control A/V devices using the 1394 TA AV/C commands
Version 0.5.4-7
Package Base libavc1394
Homepage https://sourceforge.net/projects/libavc1394/
Maintainers ['Balló György <ballogyor+arch@gmail.com>', 'Balló György <bgyorgy@archlinux.org>']
Contributors ['Robert Emil Berge <robert@rebi.no>', 'damir <damir@archlinux.org>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/libavc1394
Sources ['https://downloads.sourceforge.net/libavc1394/libavc1394-0.5.4.tar.gz']
Dependencies ['glibc', 'libraw1394']
Optional-Dependencies []
Build-Dependencies []
Provides []
Builddate 20-08-2025 00:16:33
Architecture x86_64
Distro-Version
Licenses ['GPL-2.0-or-later AND LGPL-2.1-or-later']
Hash fc51adf3f9af30d7d58abd8962e39ae85bd6c8c36ede30e24ea3400d195a5b0a
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: damir <damir@archlinux.org>
# Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=libavc1394
pkgver=0.5.4
pkgrel=7
pkgdesc='Library to control A/V devices using the 1394 TA AV/C commands'
arch=(x86_64)
url='https://sourceforge.net/projects/libavc1394/'
license=('GPL-2.0-or-later AND LGPL-2.1-or-later')
depends=(
  glibc
  libraw1394
)
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
b2sums=(c27cf10b8769c1602488fa1a9a2536dee169e0e07185090e719946ca1da4b210aa61b37d816fb5b019d8b199b1c9285e2b212545f4332c8aad48af39c2dadf20)

prepare() {
  cd $pkgname-$pkgver
  autoreconf -fi
}

build() {
  cd $pkgname-$pkgver
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}