makedeb
A lightweight text editor written in Lua
Viewing /PKGBUILD
.
Click here to go back to the Git tree for lite-xl.
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=lite-xl
pkgver=2.1.1
pkgrel=2
pkgdesc='A lightweight text editor written in Lua'
arch=('amd64')
url="https://lite-xl.github.io"
license=('MIT')
depends=('libagg-dev' 'liblua5.2-dev' 'libsdl2-dev' 'libfreetype6-dev' 'reproc' 'ninja-build')
makedepends=('meson')
conflicts=("lite")
provides=("lite")
# replaces=("lite")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=("224bf8e2629f2dcd9bc5c8468a0f3f8fd6453db910241e79c8d3ba6902202a31df8381f0dd9c5fb797ad98df7bc122ea288accb58353fe310ed770d0874268e5")
build() {
cd "${pkgname}-${pkgver}"
#arch-meson build --wrap-mode=default
meson build --wrap-mode=default
meson compile -C build
}
package() {
cd "${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" meson install -C build
install -Dm 644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}