core/libdvbpsi/PKGBUILD

33 lines
864 B
Bash
Raw Normal View History

2018-12-03 11:09:06 +08:00
# Contributions from Arch:
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
2010-03-14 23:48:48 +08:00
# Contributor: Gilles CHAUVIN <gcnweb@gmail.com>
pkgname=libdvbpsi
2018-12-03 11:09:06 +08:00
pkgver=1.3.2
2010-05-17 15:50:50 +08:00
pkgrel=1
2018-12-03 11:09:06 +08:00
pkgdesc='Library designed for decoding and generation of MPEG TS and DVB PSI tables'
url='http://developers.videolan.org/libdvbpsi/'
arch=('x86_64')
license=('LGPL2.1')
2010-03-14 23:48:48 +08:00
depends=('glibc')
2018-12-03 11:09:06 +08:00
provides=('libdvbpsi.so')
source=(${pkgname}-${pkgver}.tar.bz2::https://code.videolan.org/videolan/libdvbpsi/repository/${pkgver}/archive.tar.bz2)
sha256sums=('573c29359354a38fa8e958c26cffe2a574a4aa73dcaf2215737326c9f95922fc')
2010-03-14 23:48:48 +08:00
2018-12-03 11:09:06 +08:00
prepare() {
cd ${pkgname}-${pkgver}-*
autoreconf -fiv
}
2010-03-14 23:48:48 +08:00
2018-12-03 11:09:06 +08:00
build() {
cd ${pkgname}-${pkgver}-*
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr
2018-12-03 11:09:06 +08:00
make
2010-05-17 15:50:50 +08:00
}
package() {
2018-12-03 11:09:06 +08:00
cd ${pkgname}-${pkgver}-*
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}