updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / lua-anyhub / PKGBUILD
blob1def54963f6bbb3c222c086b9089ca60a388e33a
1 # Maintainer: Linus Sjögren <thelinx@unreliablepollution.net>
2 pkgname=lua-anyhub
3 pkgver=1.0.0
4 pkgrel=3
5 pkgdesc="A Lua wrapper for the Anyhub API."
6 license=('custom:CC0')
7 arch="any"
8 url="https://github.com/TheLinx/lanyhub"
9 depends=('lua>=5.1' 'lua-curl')
10 conflicts=('lua-anyhub-git')
11 source=(https://github.com/TheLinx/lanyhub/tarball/$pkgver)
12 md5sums=('4349f5f9af4552a4d2caebf6377d976e')
14 build() {
15   cd "$srcdir"
16   cd `find -name TheLinx*`
17   install -Dm0644 anyhub/init.lua \
18     $pkgdir/usr/share/lua/5.1/anyhub/init.lua
19   install -Dm0644 LICENSE \
20     $pkgdir/usr/share/licenses/$pkgname/LICENSE