updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lua-cjson / PKGBUILD
blob1e83ece2b118490bbbea75badfe9391bfbc5b087
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lua-cjson
4 pkgver=2.0.0
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=('custom:MIT')
10 depends=('lua')
11 optdepends=('perl: UTF8 implementation test')
12 source=("http://www.kyne.com.au/~mark/software/download/$pkgname-$pkgver.tar.gz")
13 md5sums=('f26478dec5de30d657264314974bde8c')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   make PREFIX=/usr
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
24   make PREFIX=/usr DESTDIR="$pkgdir/" install{,-extra}
26   # license
27   install -Dm644 LICENSE \
28     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31 # vim:set ts=2 sw=2 et: