summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfredo Ramos2015-11-22 17:55:35 -0600
committerAlfredo Ramos2015-11-22 17:55:35 -0600
commit68e31fcc40477229ca7f460c9fbf90d9514581a8 (patch)
tree02f79eb43bd527ba5b7f08fa0f7dacceca01252e
parentfa5c066d09f5abe021d89995230d6019373a42e0 (diff)
downloadaur-68e31fcc40477229ca7f460c9fbf90d9514581a8.tar.gz
Add install file
-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 54eae922cf2..155e55dde34 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 bcfc66921df..a996064e4e4 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 00000000000..c3042a3a21c
--- /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