fdesktoprecorder & youtube-dl update, xautomation merge from testing

This commit is contained in:
Anke 2012-12-13 16:06:12 +00:00
parent 2a2e75be13
commit 30e1b8d9d8
3 changed files with 38 additions and 15 deletions

View File

@ -4,10 +4,10 @@
pkgname=fdesktoprecorder pkgname=fdesktoprecorder
pkgver=20121215 pkgver=20121215
_pkgver=a118e4 _pkgver=c71ef87
pkgrel=1 pkgrel=2
pkgdesc="A program that can video record a single window or your entire desktop using ffmpeg." 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" url="http://opendesktop.org/content/show.php?content=147844"
depends=('qt' 'ffmpeg') depends=('qt' 'ffmpeg')
makedepends=('cmake' 'automoc4' 'kdelibs' 'desktop-file-utils') makedepends=('cmake' 'automoc4' 'kdelibs' 'desktop-file-utils')
@ -15,10 +15,10 @@ categories=('utils')
screenshot=('http://kde-apps.org/CONTENT/content-pre2/147844-2.png') screenshot=('http://kde-apps.org/CONTENT/content-pre2/147844-2.png')
source=("https://github.com/froksen/FDesktopRecorder/tarball/master/froksen-FDesktopRecorder-${_pkgver}.tar.gz") source=("https://github.com/froksen/FDesktopRecorder/tarball/master/froksen-FDesktopRecorder-${_pkgver}.tar.gz")
license=('GPL') license=('GPL')
md5sums=('71aa2eab68fb79a48ea7c5f640937133') md5sums=('5ee570acff42f8ec5d578c34654405b3')
build() { build() {
cd ${srcdir}/froksen-FDesktopRecorder-a${_pkgver} cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}
mkdir build mkdir build
cmake \ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
@ -27,6 +27,6 @@ build() {
} }
package() { package() {
cd ${srcdir}/froksen-FDesktopRecorder-a${_pkgver} cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }

28
xautomation/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Martín González <koteccr[at]gmail[dot]com>
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
}

View File

@ -4,7 +4,7 @@
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
pkgname=youtube-dl pkgname=youtube-dl
pkgver=2012.11.29 pkgver=2012.12.11
pkgrel=1 pkgrel=1
pkgdesc='A small command-line program to download videos from YouTube.com' pkgdesc='A small command-line program to download videos from YouTube.com'
arch=('x86_64') arch=('x86_64')
@ -13,18 +13,13 @@ license=('custom')
depends=('python2') depends=('python2')
makedepends=('unzip' 'zip') makedepends=('unzip' 'zip')
categories=('network') categories=('network')
source=(${pkgname}-${pkgver}::https://github.com/rg3/${pkgname}/raw/${pkgver}/${pkgname}) source=(${pkgname}-${pkgver}::https://github.com/downloads/rg3/youtube-dl/youtube-dl)
sha1sums=('f6f415d688aa2cf3a831709694904b8a83d4c1c0') sha1sums=('aa45f8e32c637a2342674f32d1ca9e8f70bf695c')
package() { package() {
cd "${srcdir}" 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}" install -d "${pkgdir}/usr/share/licenses/${pkgname}"
grep -i license __init__.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" grep -i license __init__.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }