summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d184f7b00bde42f15b1df9e44bda5551407da19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Jonne Haß <me@jhass.eu>
pkgname=luabcrypt
pkgver="2.1_4"
pkgrel=1
pkgdesc="A Lua wrapper for bcrypt"
arch=('i686' 'x86_64')
url="http://github.com/mikejsavage/lua-bcrypt"
license=('MIT')
depends=('lua')
makedepends=('luarocks')
source=("https://luarocks.org/manifests/mikejsavage/${pkgname/lua/}-${pkgver/_/-}.src.rock")

package() {
  luarocks --to="$pkgdir/usr" install --deps-mode=none "$srcdir/${pkgname/lua/}-${pkgver/_/-}.src.rock"
  rm -Rf "$pkgdir/usr/lib/luarocks"
}

sha256sums=('0201396e62960e11f8506dccd52b620ad0bff91904a2454ce92900799d129b92')