blob: 1f9fe445a852b793971da3f4ee5742151ba75880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
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"
}
|