Skip to content

Instantly share code, notes, and snippets.

@Nainterceptor
Last active August 29, 2015 14:17
Show Gist options
  • 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 <[email protected]>
# Contributor: Daniel J Griffiths <[email protected]>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Andrej Gelenberg <[email protected]>
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