archrelease: copy trunk to extra-x86_64
[arch-packages.git] / aribb24 / repos / extra-x86_64 / PKGBUILD
blobacb106b7413afd97763f0be30a3a3f7c631bb771
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Ryotaro Ko <aur@p1kachu.net>
4 pkgname=aribb24
5 pkgver=1.0.3
6 pkgrel=3
7 pkgdesc='Library for ARIB STD-B24, decoding JIS 8 bit characters and parsing MPEG-TS stream'
8 url='https://github.com/nkoriyama/aribb24'
9 arch=('x86_64')
10 license=('LGPL3')
11 depends=("libpng")
12 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nkoriyama/aribb24/archive/v${pkgver}.tar.gz
13         ${pkgname}-1.0.3-add-missing-libm.patch::https://github.com/nkoriyama/aribb24/commit/b08931895599e42ce6930a720a3fca74f6f6d9cb.patch)
14 sha512sums=('622cc0c3928fd6db0b5ab3921f27348c956af20f8c0133ad5d9bf4de3d199077d9f23cc86ae149a9f0d13c7ee5906ec95de3fb8388207160cebd1f0c59078c8f'
15             'b7f8f737a96931fec4c983b2acf0e62ed6638d4ef6af8bf9491931235f6aca7589d81c444104fc5a7a5ce363c4aa0f9376b4990d3eae745315d197055f21e310')
17 prepare() {
18   cd ${pkgname}-${pkgver}
19   patch -Np1 < ../${pkgname}-1.0.3-add-missing-libm.patch
20   autoreconf -fiv
23 build() {
24   cd ${pkgname}-${pkgver}
25   ./configure --prefix=/usr
26   make
29 package() {
30   cd ${pkgname}-${pkgver}
31   make DESTDIR="${pkgdir}" install
34 # vim: ts=2 sw=2 et: