blob: 089a8c2abed9b60076b1ee9a8ebc949e7cc9096c (
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
30
|
# Maintainer: HRKo <hrko[at]r-c.dev>
pkgname=libarib25
pkgver=0.2.5_20190204
pkgrel=1
pkgdesc='ARIB STD-B25 library for Linux.'
arch=('i686' 'x86_64' 'armv7h')
url='https://github.com/stz2012/libarib25'
license=('Apache')
makedepends=('git' 'cmake')
depends=('pcsclite')
provides=('libarib25')
conflicts=('libarib25-git')
source=("https://github.com/stz2012/libarib25/archive/v${pkgver//_/-}.tar.gz")
md5sums=('7aef479af038a72d51e838b46ddfb6b1')
build() {
cd "$srcdir/$pkgname-${pkgver//_/-}/cmake"
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/$pkgname-${pkgver//_/-}/cmake"
make install DESTDIR=$pkgdir
if test -e $pkgdir/usr/lib64; then
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
fi
}
|