Skip to content

Instantly share code, notes, and snippets.

@Nainterceptor
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nainterceptor/649b54e633cffa900023 to your computer and use it in GitHub Desktop.
Save Nainterceptor/649b54e633cffa900023 to your computer and use it in GitHub Desktop.
yajl for archlinux ARM
# Maintainer: Dave Reisner <d@falconindy.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
pkgname=yajl
pkgver=2.1.0
pkgrel=1
pkgdesc='Yet Another JSON Library'
arch=('i686' 'x86_64' 'armv7' 'armv6')
url='http://lloyd.github.com/yajl/'
license=('ISC')
makedepends=('gcc' 'make' 'cmake')
source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/lloyd/$pkgname/tar.gz/$pkgver")
md5sums=('6887e0ed7479d2549761a4d284d3ecb0')
build() {
cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment