summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-04-28 08:48:57 +0200
committerhaawda2019-04-28 08:48:57 +0200
commit494d37742e9f49bdb7a5d1643c35301c87c44c33 (patch)
treef8b73cbc96b0b16bc92cf5d1bec40e40817bf592
parenta0c8c58a05069c429a69e8e09c42ec12fa485d77 (diff)
downloadaur-vokoscreen-git.tar.gz
adopted and rewritten
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD75
2 files changed, 35 insertions, 46 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c13c3dd27c4..c05f3d18f91 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vokoscreen-git
pkgdesc = An easy to use screencast creator. Development version.
- pkgver = 2.9.5.beta.5.g4290f62
- pkgrel = 2
+ pkgver = 2.9.6.beta.39.g30f4f22
+ pkgrel = 1
url = http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
arch = i686
arch = x86_64
@@ -16,7 +16,7 @@ pkgbase = vokoscreen-git
depends = gst-plugins-bad
depends = pulseaudio
optdepends = gst-plugins-ugly: for x264 video codec
- provides = vokoscreen=2.9.5.beta.5.g4290f62
+ provides = vokoscreen=2.9.6.beta.39.g30f4f22
conflicts = vokoscreen
source = git+https://github.com/vkohaupt/vokoscreenNG.git
source = install.pri
diff --git a/PKGBUILD b/PKGBUILD
index 2241713d4c7..ea3e5ce3e0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,64 +1,53 @@
-# Maintainer: Alfredo Ramos <alfredo dot ramos at yandex dot com>
+# Contributor: Alfredo Ramos <alfredo dot ramos at yandex dot com>
# Contributor: Arthur Țițeică arthur.titeica/gmail/com
# Contributor: Thomas Laube <tomx3@tomtomtom.org>
-_pkgname=vokoscreen
-pkgname=${_pkgname}-git
-pkgver=2.9.5.beta.5.g4290f62
-pkgrel=2
+_pkgname=vokoscreenNG
+pkgname=vokoscreen-git
+pkgver=2.9.6.beta.39.g30f4f22
+pkgrel=1
pkgdesc='An easy to use screencast creator. Development version.'
arch=('i686' 'x86_64')
url='http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
license=('GPL2')
-
-depends=(
- 'qt5-x11extras' 'qt5-multimedia' 'qt-gstreamer'
- 'gst-plugins-good' 'gst-plugins-bad' 'pulseaudio'
-)
+depends=('qt5-x11extras' 'qt5-multimedia' 'qt-gstreamer'
+ 'gst-plugins-good' 'gst-plugins-bad' 'pulseaudio')
makedepends=('git' 'qt5-tools' 'libxrandr')
optdepends=('gst-plugins-ugly: for x264 video codec')
-provides=("${_pkgname}=${pkgver}")
-conflicts=("${_pkgname}")
-
-source=(
- "git+https://github.com/vkohaupt/${_pkgname}NG.git"
- 'install.pri'
-)
-sha512sums=(
- 'SKIP'
- '0a5e0523adaa9e7f9b46cbbc8f7d8d0167787b67f11cfb7895785e3f93ab8836526c1b0891f4bf3362f4e8bc44885ffcf99670b86558aa667bd4f4ac7df56f11'
-)
+provides=("${_pkgname%NG}=${pkgver}")
+conflicts=("${_pkgname%NG}")
+source=("git+https://github.com/vkohaupt/${_pkgname}.git"
+ 'install.pri')
+sha512sums=('SKIP'
+ '0a5e0523adaa9e7f9b46cbbc8f7d8d0167787b67f11cfb7895785e3f93ab8836526c1b0891f4bf3362f4e8bc44885ffcf99670b86558aa667bd4f4ac7df56f11')
pkgver() {
- # Updating package version
- cd "${srcdir}"/${_pkgname}NG
- git describe --long --tags 2>/dev/null | sed -r 's/-/./g'
+ cd ${_pkgname}
+ git describe --long --tags 2>/dev/null | sed -r 's/-/./g'
}
prepare() {
- cd "${srcdir}"/${_pkgname}NG
-
- # Add install instructions
- cp ../install.pri src/
- echo 'include(install.pri)' >> src/vokoscreen.pro
-
- # Create build directory
- mkdir -p "${srcdir}"/build
+ cd ${_pkgname}
+
+ # Add install instructions
+ cp ../install.pri src/
+ echo 'include(install.pri)' >> src/${_pkgname}.pro
+
+ # Create build directory
+ mkdir -p "${srcdir}"/build
}
build() {
- # Building package
- cd "${srcdir}"/build
- qmake-qt5 ../${_pkgname}NG/src \
- QMAKE_CFLAGS="${CFLAGS}" \
- QMAKE_CXXFLAGS="${CXXFLAGS}" \
- CONFIG+=release \
- CONFIG+=c++14
- make
+ cd build
+ qmake-qt5 ../${_pkgname}/src/${_pkgname}.pro \
+ QMAKE_CFLAGS="${CFLAGS}" \
+ QMAKE_CXXFLAGS="${CXXFLAGS}" \
+ CONFIG+=release \
+ CONFIG+=c++14
+ make
}
package() {
- # Installing package
- cd "${srcdir}"/build
- make INSTALL_ROOT="${pkgdir}" install
+ cd build
+ make INSTALL_ROOT="${pkgdir}" install
}