summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1da54166758a55b84b7046b4f5a4e56cf70f40fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: jxir <aur@jxir.de>

pkgname=lua-wcwidth
pkgver=0.5
pkgrel=2
pkgdesc="Pure Lua implementation of the wcwidth() function"
arch=('any')
url="https://github.com/aperezdc/lua-wcwidth"
license=('custom')
depends=('lua')
makedepends=('luarocks')
source=("$pkgname-$pkgver.tar.gz::https://github.com/aperezdc/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('79b2969be5ab60e01fc579c955c7ef615cba5410f65f2329f99d25d1154b88e4')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  luarocks --tree="$pkgdir/usr/" make --deps-mode=none --no-manifest "luarocks/wcwidth-$pkgver-1.rockspec"
}