updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / lua-cjson / PKGBUILD
blob086b27182d07770b964a919babc6be7f9e2ba5b6
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lua-cjson
4 pkgver=1.0.4
5 pkgrel=1
6 pkgdesc="A fast JSON parsing and encoding support for Lua."
7 arch=(i686 x86_64)
8 url="http://www.kyne.com.au/~mark/software/lua-cjson.php"
9 license=('MIT')
10 depends=('lua')
11 source=("http://www.kyne.com.au/~mark/software/$pkgname-$pkgver.tar.gz")
12 md5sums=('9b04196a37f724c7530794248f8e1f96')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   make PREFIX=/usr
20 package() {
21   cd "$srcdir/$pkgname-$pkgver"
23   make PREFIX=/usr DESTDIR="$pkgdir/" install
25   # license
26   install -Dm644 LICENSE \
27     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
30 # vim:set ts=2 sw=2 et: