summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112018-01-12 10:10:32 +0100
committerjose17112018-01-12 10:10:32 +0100
commit6e7d810b30c4c7e7362a597d32f0f38ccbcdcb3f (patch)
tree98e5332376b8f35061d3da68d87a87c9adca9543
downloadaur-6e7d810b30c4c7e7362a597d32f0f38ccbcdcb3f.tar.gz
Initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD32
-rw-r--r--losslesscut.desktop6
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..58fdb73175e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Fri Jan 12 09:10:26 UTC 2018
+pkgbase = losslesscut
+ pkgdesc = Crossplatform GUI tool for lossless trimming/cutting of video/audio files
+ pkgver = 1.9.0
+ pkgrel = 1
+ url = https://github.com/mifi/lossless-cut
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = ffmpeg
+ depends = gtk2
+ depends = nss
+ depends = gconf
+ source_i686 = https://github.com/mifi/lossless-cut/releases/download/v1.9.0/LosslessCut-linux-ia32.zip
+ source_i686 = losslesscut.desktop
+ md5sums_i686 = a9ce642513ffde905bfca3a47170a7c4
+ md5sums_i686 = d89e971d59d1183b729bdc84afb2d4ce
+ source_x86_64 = https://github.com/mifi/lossless-cut/releases/download/v1.9.0/LosslessCut-linux-x64.zip
+ source_x86_64 = losslesscut.desktop
+ md5sums_x86_64 = da42d6971af2344990504a67f61f3ad8
+ md5sums_x86_64 = d89e971d59d1183b729bdc84afb2d4ce
+
+pkgname = losslesscut
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f57c8ff40ce
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jose Riha <jose1711 gmail com>
+
+pkgname=losslesscut
+pkgver=1.9.0
+pkgrel=1
+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')
+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")
+
+package()
+{
+ cd "$srcdir"
+ mkdir -p $pkgdir/usr/{share/losslesscut,bin}
+ if [ $CARCH = "x86_64" ]
+ then
+ cd LosslessCut-linux-x64
+ else
+ cd LosslessCut-linux-ia32
+ fi
+ tar -cf - --exclude app.asar.unpacked . | 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
+ }
+
+md5sums_i686=('a9ce642513ffde905bfca3a47170a7c4'
+ 'd89e971d59d1183b729bdc84afb2d4ce')
+md5sums_x86_64=('da42d6971af2344990504a67f61f3ad8'
+ 'd89e971d59d1183b729bdc84afb2d4ce')
diff --git a/losslesscut.desktop b/losslesscut.desktop
new file mode 100644
index 00000000000..b52b52d4fc7
--- /dev/null
+++ b/losslesscut.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=LosslessCut
+Comment=GUI tool for lossless trimming/cutting of media files
+Exec=losslesscut
+Categories=AudioVideo;