diff options
author | Chocobo1 | 2017-08-12 15:45:07 +0800 |
---|---|---|
committer | Chocobo1 | 2017-08-12 16:00:21 +0800 |
commit | f17c3a723e201b7c70e999ef0b571c25c565d8c2 (patch) | |
tree | 588d645167e86a3a98483a194ebe6cfbfbf483bd | |
download | aur-f17c3a723e201b7c70e999ef0b571c25c565d8c2.tar.gz |
newpkg: libdvbpsi-git 1.3.0.r226.gdfa10ba-1
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..509adf7366c8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = libdvbpsi-git + pkgdesc = A library designed for decoding and generation of MPEG TS and DVB PSI tables according to standards ISO/IEC 13818 and ITU-T H.222.0 + pkgver = 1.3.0.r226.gdfa10ba + pkgrel = 1 + url = https://www.videolan.org/developers/libdvbpsi.html + arch = i686 + arch = x86_64 + license = LGPL2 + makedepends = git + depends = glibc + provides = libdvbpsi + conflicts = libdvbpsi + source = git+https://code.videolan.org/videolan/libdvbpsi.git + sha256sums = SKIP + +pkgname = libdvbpsi-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1a8d1c7f5fd6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=libdvbpsi-git +pkgver=1.3.0.r226.gdfa10ba +pkgrel=1 +pkgdesc="A library designed for decoding and generation of MPEG TS and DVB PSI tables according to standards ISO/IEC 13818 and ITU-T H.222.0" +arch=('i686' 'x86_64') +url="https://www.videolan.org/developers/libdvbpsi.html" +license=('LGPL2') +depends=('glibc') +makedepends=('git') +provides=('libdvbpsi') +conflicts=('libdvbpsi') +source=("git+https://code.videolan.org/videolan/libdvbpsi.git") +sha256sums=('SKIP') + + +pkgver() { + cd "libdvbpsi" + + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "libdvbpsi" + + ./bootstrap + ./configure --prefix="/usr" --enable-release + make +} + +package() { + cd "libdvbpsi" + + make DESTDIR="$pkgdir" install +} |