Skip to content

Instantly share code, notes, and snippets.

@micahyoung
Created September 10, 2014 00:40
Show Gist options
  • Save micahyoung/b9ce5575c366b25490d4 to your computer and use it in GitHub Desktop.
Save micahyoung/b9ce5575c366b25490d4 to your computer and use it in GitHub Desktop.
pkgname=http-launch
pkgver=SKIP
pkgrel=1
pkgdesc="HTTP Launch"
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h')
url="https://github.com/sdroege/http-launch"
license=(SKIP)
depends=(gstreamer)
source=(git+https://github.com/sdroege/http-launch.git)
md5sums=(SKIP)
build() {
cd "$pkgname"
./autogen.sh
./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