summaryrefslogtreecommitdiffstats
path: root/ffcast/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-10-23 22:15:15 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-10-23 22:15:15 +0200
commitd79be8d79be1f0504dd74049d14a1010a3b30fc7 (patch)
treeb0a080700be4611952bf9b6ed40b78cbb327ca42 /ffcast/PKGBUILD
parent9c89e1f261dbf0b16927975ae93fe206f78c992d (diff)
downloadaur-packages-d79be8d79be1f0504dd74049d14a1010a3b30fc7.tar.gz
aur-packages-d79be8d79be1f0504dd74049d14a1010a3b30fc7.tar.xz
upstream update
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'ffcast/PKGBUILD')
-rw-r--r--ffcast/PKGBUILD50
1 files changed, 20 insertions, 30 deletions
diff --git a/ffcast/PKGBUILD b/ffcast/PKGBUILD
index d1bf09d..36acc17 100644
--- a/ffcast/PKGBUILD
+++ b/ffcast/PKGBUILD
@@ -1,38 +1,28 @@
-# Contributor: lolilolicon <lolilolicon{at}gmail{dot}com>
+# Maintainer: lolilolicon <lolilolicon@gmail.com>
pkgname=ffcast
-pkgver=20091128
-pkgrel=1
-pkgdesc="bash script that takes screencast of given window area using ffmpeg/xwininfo/xrectsel"
-arch=('i686' 'x86_64')
-url="http://github.com/lolilolicon/ffcast"
-license=('GPL v3')
-makedepends=('git')
-depends=('bash>=3.2' 'ffmpeg>=0.5' 'x264>=20090416' 'xorg-utils' 'bc')
-source=()
-md5sums=()
-
-_gitroot="git://github.com/lolilolicon/ffcast.git"
-_gitname=master
+epoch=1
+pkgver=1.0rc3
+pkgrel=2
+pkgdesc="screencast one or more interactively selected region or window"
+arch=(i686 x86_64)
+url="https://github.com/lolilolicon/FFcast2"
+license=(GPL3)
+depends=('bash>=4.2' ffmpeg libx11 xorg-xwininfo)
+makedepends=(perl)
+source=("https://github.com/downloads/lolilolicon/FFcast2/$pkgname-$pkgver.tar.gz")
+md5sums=('0094895473d5cf90eae2538f480e9bff')
build() {
- msg "Connecting to GIT server..."
- if [ -d "$srcdir/$pkgname" ]; then
- cd "$srcdir/$pkgname" && git pull origin $_gitname || return 1
- else
- git clone "$_gitroot" "$srcdir/$pkgname" || return 1
- cd "$srcdir/$pkgname" && git checkout $_gitname || return 1
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
- rm -rf "$srcdir/$pkgname-build"
- git clone "$srcdir/$pkgname" "$srcdir/$pkgname-build"
- cd "$srcdir/$pkgname-build"
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
- make || return 1
- make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
+ install -D -m644 README.asciidoc "$pkgdir/usr/share/doc/$pkgname"/README.txt
}
-# vim:set ts=2 sw=2 et:
+# vim:st=2:sw=2:et: