# Maintainer: Chocobo1 pkgname=bitstream-git pkgver=1.4.r67.gba7576b pkgrel=1 pkgdesc="A set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, SMPTE, IEEE, SCTE, etc" arch=('any') url="https://www.videolan.org/developers/bitstream.html" license=('MIT') depends=('glibc') makedepends=('git') provides=("bitstream=$pkgver") conflicts=('bitstream') source=("git+https://code.videolan.org/videolan/bitstream.git") sha256sums=('SKIP') pkgver() { cd "bitstream" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "bitstream" make DESTDIR="$pkgdir" PREFIX="/usr" install install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/bitstream" }