diff options
author | drrossum | 2015-07-29 16:23:38 -0500 |
---|---|---|
committer | drrossum | 2015-07-29 16:23:38 -0500 |
commit | 8ea088b3ee30ae13e4d349b5afcf21535f4f5995 (patch) | |
tree | 69305837e0f760c088e58803ba4926df6575cfd4 | |
download | aur-8ea088b3ee30ae13e4d349b5afcf21535f4f5995.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..643df67e2530 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = get-flash-videos-git + pkgdesc = Downloads videos from various Flash-based video hosting sites + pkgver = v1.22.556.g2d46d08 + pkgrel = 1 + url = http://code.google.com/p/get-flash-videos + arch = any + license = APACHE + makedepends = git + makedepends = perl + depends = perl-www-mechanize + depends = perl-http-cookies + depends = perl-lwp-protocol-https + depends = perl-module-find + depends = perl-lwp-protocol-socks + depends = perl-tie-ixhash + depends = perl-data-amf + depends = perl-xml-simple + optdepends = mplayer: for video streaming + provides = get_flash_videos + provides = get-flash-videos + conflicts = get_flash_videos + conflicts = get-flash-videos + source = git://github.com/monsieurvideo/get-flash-videos.git + md5sums = SKIP + +pkgname = get-flash-videos-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d87726a91e4b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org> +# Contributor: Matthew Bauer <mjbauer95@gmail.com> +# Contributor: Marvin Lampe <marvin.lampe@gmx.de> + +pkgname=get-flash-videos-git +_gitname=get-flash-videos +pkgver=v1.22.556.g2d46d08 +pkgrel=1 +pkgdesc='Downloads videos from various Flash-based video hosting sites' +arch=('any') +url='http://code.google.com/p/get-flash-videos' +license=('APACHE') +depends=('perl-www-mechanize' 'perl-http-cookies' 'perl-lwp-protocol-https' + 'perl-module-find' 'perl-lwp-protocol-socks' 'perl-tie-ixhash' + 'perl-data-amf' 'perl-xml-simple') +makedepends=('git' 'perl') +optdepends=('mplayer: for video streaming') +conflicts=('get_flash_videos' 'get-flash-videos') +provides=('get_flash_videos' 'get-flash-videos') +source=(git://github.com/monsieurvideo/get-flash-videos.git) +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/$_gitname + + git describe | sed s/-/./g +} + +build() { + cd "$srcdir"/$_gitname + + make +} + +package() { + cd "$srcdir"/$_gitname + + make install DESTDIR="$pkgdir"/ INSTALL_BASE=/usr \ + INSTALLSITELIB=/usr/lib/perl5/site_perl INSTALLSITESCRIPT=/usr/bin +} |