Created
September 10, 2014 00:40
-
-
Save micahyoung/4c47cfbdb59dfa58b765 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=gst-rpicamsrc | |
pkgver=SKIP | |
pkgrel=1 | |
pkgdesc="GStreamer element for the Raspberry Pi camera module" | |
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h') | |
url="https://github.com/thaytan/gst-rpicamsrc" | |
license=(LGPL) | |
depends=(gstreamer) | |
source=(git+https://github.com/thaytan/gst-rpicamsrc.git) | |
md5sums=(SKIP) | |
build() { | |
cd "$pkgname" | |
./autogen.sh --prefix=/usr | |
./configure | |
make | |
} | |
package () | |
{ | |
cd "$pkgname" | |
make DESTDIR="$pkgdir" install | |
} | |
pkgver() { | |
cd "$pkgname" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment