blob: 518e11ea35383cb780d783b75f22ee050906e4b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Frank Seifferth <frankseifferth@posteo.net>
pkgname=editorconfig-core-lua
conflicts=('editorconfig-core-lua-git')
pkgver=0.3.0
pkgrel=2
pkgdesc="EditorConfig Core bindings for Lua"
arch=('any')
url="https://github.com/editorconfig/editorconfig-core-lua"
license=('custom:BSD')
depends=('lua' 'editorconfig-core-c')
makedepends=('cmake')
source=("https://github.com/editorconfig/editorconfig-core-lua/archive/v$pkgver.tar.gz")
md5sums=('b4f5d8c7e83f200e15f4de2b65845023')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake .
make
}
package() {
install -Dm 755 "$srcdir/$pkgname-$pkgver/editorconfig.so" \
"$pkgdir/usr/lib/lua/5.4/editorconfig.so"
install -Dm 644 "$srcdir/$pkgname-$pkgver/LICENSE" \
"$pkgdir/usr/share/licenses/editorconfig-core-lua/LICENSE"
}
|