From 30e1b8d9d85e0e03f9f3ad43cd91c848acfed7b8 Mon Sep 17 00:00:00 2001 From: Anke Date: Thu, 13 Dec 2012 16:06:12 +0000 Subject: [PATCH] fdesktoprecorder & youtube-dl update, xautomation merge from testing --- fdesktoprecorder/PKGBUILD | 12 ++++++------ xautomation/PKGBUILD | 28 ++++++++++++++++++++++++++++ youtube-dl/PKGBUILD | 13 ++++--------- 3 files changed, 38 insertions(+), 15 deletions(-) create mode 100644 xautomation/PKGBUILD diff --git a/fdesktoprecorder/PKGBUILD b/fdesktoprecorder/PKGBUILD index 0959feb2c..5c02c4940 100644 --- a/fdesktoprecorder/PKGBUILD +++ b/fdesktoprecorder/PKGBUILD @@ -4,10 +4,10 @@ pkgname=fdesktoprecorder pkgver=20121215 -_pkgver=a118e4 -pkgrel=1 +_pkgver=c71ef87 +pkgrel=2 pkgdesc="A program that can video record a single window or your entire desktop using ffmpeg." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://opendesktop.org/content/show.php?content=147844" depends=('qt' 'ffmpeg') makedepends=('cmake' 'automoc4' 'kdelibs' 'desktop-file-utils') @@ -15,10 +15,10 @@ categories=('utils') screenshot=('http://kde-apps.org/CONTENT/content-pre2/147844-2.png') source=("https://github.com/froksen/FDesktopRecorder/tarball/master/froksen-FDesktopRecorder-${_pkgver}.tar.gz") license=('GPL') -md5sums=('71aa2eab68fb79a48ea7c5f640937133') +md5sums=('5ee570acff42f8ec5d578c34654405b3') build() { - cd ${srcdir}/froksen-FDesktopRecorder-a${_pkgver} + cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver} mkdir build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -27,6 +27,6 @@ build() { } package() { - cd ${srcdir}/froksen-FDesktopRecorder-a${_pkgver} + cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver} make DESTDIR="$pkgdir" install } diff --git a/xautomation/PKGBUILD b/xautomation/PKGBUILD new file mode 100644 index 000000000..3d244b2d3 --- /dev/null +++ b/xautomation/PKGBUILD @@ -0,0 +1,28 @@ +# +# Apps Packages for Chakra, part of chakra-project.org +# +# maintainer abveritas@chakra-project.org +# contributor Martín González + +pkgname=xautomation +pkgver=1.06 +pkgrel=1 +pkgdesc='Controls X from the command line and does "visual scraping".' +url='http://hoopajoo.net/projects/xautomation.html' +arch=('x86_64') +license=('GPL') +depends=('libpng' 'libxtst') +source=("http://hoopajoo.net/static/projects/${pkgname}-${pkgver}.tar.gz") +md5sums=('89cb18c15c0c177ce044c9d566a7ddfe') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/youtube-dl/PKGBUILD b/youtube-dl/PKGBUILD index 823b520bc..2116614b2 100644 --- a/youtube-dl/PKGBUILD +++ b/youtube-dl/PKGBUILD @@ -4,7 +4,7 @@ # maintainer abveritas@chakra-project.org pkgname=youtube-dl -pkgver=2012.11.29 +pkgver=2012.12.11 pkgrel=1 pkgdesc='A small command-line program to download videos from YouTube.com' arch=('x86_64') @@ -13,18 +13,13 @@ license=('custom') depends=('python2') makedepends=('unzip' 'zip') categories=('network') -source=(${pkgname}-${pkgver}::https://github.com/rg3/${pkgname}/raw/${pkgver}/${pkgname}) -sha1sums=('f6f415d688aa2cf3a831709694904b8a83d4c1c0') +source=(${pkgname}-${pkgver}::https://github.com/downloads/rg3/youtube-dl/youtube-dl) +sha1sums=('aa45f8e32c637a2342674f32d1ca9e8f70bf695c') package() { cd "${srcdir}" -# Ignoring non-zero exit status of unzip as extraction is successful - unzip -q ${pkgname}-${pkgver} || : - zip -q youtube-dl *.py - echo '#!/usr/bin/env python2' > youtube-dl - cat youtube-dl.zip >> youtube-dl - install -D -m755 youtube-dl "${pkgdir}/usr/bin/youtube-dl" + install -D -m755 youtube-dl-${pkgver} "${pkgdir}/usr/bin/youtube-dl" install -d "${pkgdir}/usr/share/licenses/${pkgname}" grep -i license __init__.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } \ No newline at end of file