summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Serafin2020-09-20 20:45:06 +0200
committerPiotr Serafin2020-09-20 20:45:06 +0200
commite5f010dfea5709bdb27ee15678197285122c7f25 (patch)
treee458b95705163fa801ecae92f925a312f7dc3cd7
parent1c9087bd2db59c1531c407b4cc3b9de172efd8a2 (diff)
downloadaur-e5f010dfea5709bdb27ee15678197285122c7f25.tar.gz
Updated to 3.22-1953. New dir structure
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD32
-rw-r--r--tsduck.install4
3 files changed, 11 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 266d2a08fac..b95e9d8835b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
pkgbase = tsduck
pkgdesc = An extensible toolkit for MPEG/DVB transport streams
- pkgver = 3.21_1819
- pkgrel = 2
+ pkgver = 3.22_1953
+ pkgrel = 1
url = https://tsduck.io/
- install = tsduck.install
arch = x86_64
license = BSD
depends = pcsclite
depends = curl
depends = srt
depends = jq
- source = tsduck-3.21-1819.tar.gz::https://github.com/tsduck/tsduck/archive/v3.21-1819.tar.gz
- md5sums = 887e678fd86b8916335e8a48ac037560
+ source = tsduck-3.22-1953.tar.gz::https://github.com/tsduck/tsduck/archive/v3.22-1953.tar.gz
+ md5sums = bccf9a1eaade14feae1967ca49846648
pkgname = tsduck
diff --git a/PKGBUILD b/PKGBUILD
index 89f8d85ea12..3049a996e13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,17 @@
# Contributor: Mihai Bi┼čog <mihai.bisog@gmail.com>
pkgname=tsduck
-_pkgver=3.21-1819
+_pkgver=3.22-1953
pkgver=${_pkgver/-/_}
-pkgrel=2
+pkgrel=1
pkgdesc="An extensible toolkit for MPEG/DVB transport streams"
arch=('x86_64')
url="https://tsduck.io/"
license=('BSD')
depends=(pcsclite curl srt jq)
source=("$pkgname-${_pkgver}.tar.gz::https://github.com/tsduck/tsduck/archive/v${_pkgver}.tar.gz")
-md5sums=('887e678fd86b8916335e8a48ac037560')
-install=$pkgname.install
+md5sums=('bccf9a1eaade14feae1967ca49846648')
+
build() {
cd "$pkgname-${_pkgver}"
@@ -25,27 +25,9 @@ package() {
make SYSROOT="$pkgdir" install
install -D -m644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- mkdir -p "$pkgdir/usr/lib"
- find "$pkgdir/usr/bin" -type f -name 'tsduck.so' -exec mv -t "$pkgdir/usr/lib" {} +
-
# If pacman sees a /lib directory in a package, it will detect a conflict
# with the symlink on the filesystem. This uses /usr/lib directly.
- mkdir -p "$pkgdir/usr/lib/udev/rules.d"
- cp "$pkgdir/lib/udev/rules.d/80-tsduck.rules" "$pkgdir/usr/lib/udev/rules.d"
- rm -rf "$pkgdir/lib"
-
- mkdir -p "$pkgdir/usr/lib/$pkgname"
- find "$pkgdir/usr/bin" -type f -name 'tsplugin_*.so' -exec mv -t "$pkgdir/usr/lib/$pkgname" {} +
- find "$pkgdir/usr/bin" -type f -name 'tsduck.*.xml' -exec mv -t "$pkgdir/usr/lib/$pkgname" {} +
- find "$pkgdir/usr/bin" -type f -name 'tsduck.names' -exec mv -t "$pkgdir/usr/lib/$pkgname" {} +
- find "$pkgdir/usr/bin" -type f -name 'tsduck.oui.names' -exec mv -t "$pkgdir/usr/lib/$pkgname" {} +
-
- # When 3.22 will be released all above static resources will be installed in /usr/share/tsduck
- # mkdir -p "$pkgdir/usr/share/$pkgname"
- # find "$pkgdir/usr/bin" -type f -name 'tsduck.*.xml' -exec mv -t "$pkgdir/usr/share/$pkgname" {} +
- # find "$pkgdir/usr/bin" -type f -name 'tsduck.names' -exec mv -t "$pkgdir/usr/share/$pkgname" {} +
- # find "$pkgdir/usr/bin" -type f -name 'tsduck.oui.names' -exec mv -t "$pkgdir/usr/share/$pkgname" {} +
-
- mkdir -p "$pkgdir/etc/profile.d/"
- echo "export TSPLUGINS_PATH=/usr/lib/tsduck" > "$pkgdir/etc/profile.d/tsduck.sh"
+ mv "$pkgdir/lib" "$pkgdir/usr/lib"
+ mv "$pkgdir/usr/lib64"/* "$pkgdir/usr/lib"
+ rm -rf "$pkgdir/usr/lib64"
}
diff --git a/tsduck.install b/tsduck.install
deleted file mode 100644
index 82fbef83e0c..00000000000
--- a/tsduck.install
+++ /dev/null
@@ -1,4 +0,0 @@
-## arg 1: the new package version
-post_install() {
- echo ">> You have to re-login or source /etc/profile.d/tsduck.sh or else things won't work."
-}