diff options
author | Andrzej Giniewicz | 2015-07-07 19:30:46 +0200 |
---|---|---|
committer | Andrzej Giniewicz | 2015-07-07 19:30:46 +0200 |
commit | 1361e0f650f3210e0acc28758d2bf9d777b30b90 (patch) | |
tree | 8eb27b6ecf5363926448acf1af854d6fcf418563 /PKGBUILD | |
download | aur-libflashsupport-jack.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0880df0eebc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> +# Contributor: Nils Gey <list@nilsgey.de> +# Author: Thorben Hohn + +pkgname=libflashsupport-jack +pkgver=20110801 +pkgrel=1 +pkgdesc="JACK-audio-connection-kit support for Flash" +arch=('i686' 'x86_64') +url="http://sourceforge.net/users/torbenh/" +license=('GPL') +makedepends=('git') +depends=('openssl' 'jack') +options=('!libtool') +source=() +md5sums=() + +_gitroot="git://repo.or.cz/libflashsupport-jack.git" +_gitname="libflashsupport-jack" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$_gitname-build" + cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" + + ./bootstrap.sh + ./configure --prefix=/usr + sed -i 's|#define V4L1|//#define V4L1|' ./flashsupport.c || return 1 + make +} + +package() { + cd "$srcdir/$_gitname-build" + + make DESTDIR=${pkgdir} install +} + |