summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjose17112018-02-11 17:01:05 +0100
committerjose17112018-02-11 17:01:05 +0100
commite23bf213aa5e839df5976e7b64aea5747bffb57e (patch)
tree78e3a0efaaa0d737f8257f06c2d8ee90381ef7d7 /PKGBUILD
parent5341d860990c1a1c28bcbae509cd2b3fc9a6ceb9 (diff)
downloadaur-e23bf213aa5e839df5976e7b64aea5747bffb57e.tar.gz
Fix package()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ffaddf3bf08..6c3358cd614 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
pkgname=losslesscut
pkgver=1.9.0
-pkgrel=2
+pkgrel=3
pkgdesc="Crossplatform GUI tool for lossless trimming/cutting of video/audio files"
arch=('i686' 'x86_64')
url="https://github.com/mifi/lossless-cut"
license=('MIT')
depends=('ffmpeg' 'gtk2' 'nss' 'gconf')
+makedepends=('asar')
source_i686=("https://github.com/mifi/lossless-cut/releases/download/v${pkgver}/LosslessCut-linux-ia32.zip" "losslesscut.desktop")
source_x86_64=("https://github.com/mifi/lossless-cut/releases/download/v${pkgver}/LosslessCut-linux-x64.zip" "losslesscut.desktop")
@@ -21,10 +22,11 @@ package()
else
cd LosslessCut-linux-ia32
fi
- tar -cf - --exclude app.asar.unpacked . | tar -C "$pkgdir/usr/share/losslesscut" -xvf -
+ asar ef resources/app.asar icon.svg
+ tar -cf - --exclude app.asar.unpacked --exclude icon.svg . | tar -C "$pkgdir/usr/share/losslesscut" -xvf -
ln -s /usr/share/losslesscut/LosslessCut $pkgdir/usr/bin/losslesscut
install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
- install -Dm644 $pkgdir/usr/share/losslesscut/resources/icon.svg "$pkgdir"/usr/share/pixmaps/$pkgname.svg
+ install -Dm644 icon.svg "$pkgdir"/usr/share/pixmaps/$pkgname.svg
}
md5sums_i686=('a9ce642513ffde905bfca3a47170a7c4'