summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--vokoscreen-git.install11
3 files changed, 20 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54eae922cf25..155e55dde345 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = vokoscreen-git
pkgdesc = An easy to use screencast creator. Qt5 UI. Development version.
- pkgver = 2.4.3.beta.r20.g60f97b4
+ pkgver = 2.4.8.beta.r1.g84cc01a
pkgrel = 2
url = http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
+ install = vokoscreen-git.install
arch = i686
arch = x86_64
license = GPL2
@@ -11,8 +12,9 @@ pkgbase = vokoscreen-git
depends = ffmpeg
depends = lame
depends = qt5-x11extras
+ depends = desktop-file-utils
optdepends = pulseaudio-alsa: for PulseAudio support
- provides = vokoscreen=2.4.3.beta.r20.g60f97b4
+ provides = vokoscreen=2.4.8.beta.r1.g84cc01a
conflicts = vokoscreen
source = git+https://github.com/vkohaupt/vokoscreen.git
source = desktop_file.patch
diff --git a/PKGBUILD b/PKGBUILD
index bcfc66921dfa..a996064e4e4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@
_pkgname=vokoscreen
pkgname=${_pkgname}-git
-pkgver=2.4.3.beta.r20.g60f97b4
+pkgver=2.4.8.beta.r1.g84cc01a
pkgrel=2
pkgdesc='An easy to use screencast creator. Qt5 UI. Development version.'
arch=('i686' 'x86_64')
url='http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
license=('GPL2')
-depends=('ffmpeg' 'lame' 'qt5-x11extras')
+depends=('ffmpeg' 'lame' 'qt5-x11extras' 'desktop-file-utils')
optdepends=(
'pulseaudio-alsa: for PulseAudio support'
)
@@ -19,6 +19,8 @@ makedepends=('git' 'qt5-tools')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
+install=${pkgname}.install
+
source=(
"git+https://github.com/vkohaupt/${_pkgname}.git"
'desktop_file.patch'
@@ -41,7 +43,7 @@ pkgver() {
prepare() {
# Desktop file description
cd ${srcdir}/${_pkgname}
- patch applications/${_pkgname}.desktop ../desktop_file.patch
+ patch -p1 < ../desktop_file.patch
# Create build directory
mkdir -p ${srcdir}/build
diff --git a/vokoscreen-git.install b/vokoscreen-git.install
new file mode 100644
index 000000000000..c3042a3a21ce
--- /dev/null
+++ b/vokoscreen-git.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file