diff options
author | Thomas Maier | 2020-03-27 11:40:42 +0100 |
---|---|---|
committer | Thomas Maier | 2020-03-27 11:40:42 +0100 |
commit | ecc4995e16206a96bd0d0bf67ffe89da58e5b94c (patch) | |
tree | 3722254e2bac75d1bdc2355fa806b30af05a6ed5 | |
parent | f6f27137d5c126edd498aa3546afc138ef539226 (diff) | |
download | aur-ecc4995e16206a96bd0d0bf67ffe89da58e5b94c.tar.gz |
extract debian package in prepare()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 15 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = alfaview pkgdesc = High quality audio video conferencing for professional online meetings and live classes pkgver = 8.3.1 - pkgrel = 1 + pkgrel = 2 url = https://alfaview.com/ install = alfaview.install arch = x86_64 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..586fa9de9687 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +src/ +pkg/ +*.tar +*.deb + @@ -1,7 +1,7 @@ # Maintainer: Thomas Maier <contact@thomas-maier.net> pkgname=alfaview pkgver=8.3.1 -pkgrel=1 +pkgrel=2 pkgdesc='High quality audio video conferencing for professional online meetings and live classes' arch=('x86_64') url='https://alfaview.com/' @@ -14,8 +14,13 @@ source=("https://production-alfaview-assets.alfaview.com/stable/linux/${pkgname} noextract=("${pkgname}_${pkgver}.deb") sha256sums=('5a335c63727713991a998c9519c1c6c671f6a90287e025f97edc7c7a93eb2fd2') +prepare() { + mkdir -p deb-data + bsdtar -O -xf "${pkgname}_${pkgver}.deb" data.tar.xz | bsdtar -C ./deb-data -xJf - +} + package() { - bsdtar -O -xf "${pkgname}_${pkgver}.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf - - mkdir -p "${pkgdir}/usr/bin" - ln -sf /opt/alfaview/alfaview "${pkgdir}/usr/bin/alfaview" + mv deb-data/* "${pkgdir}/" + mkdir -p "${pkgdir}/usr/bin" + ln -sf /opt/alfaview/alfaview "${pkgdir}/usr/bin/alfaview" } |