blob: 914c6e7b3779f1c60c64478d5db0ee878c0643fb (
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
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Adam Saponara <as@php.net>
# Maintainer: Adam Saponara <as@php.net>
pkgname=mle
pkgver=1.4.3
pkgrel=0
pkgdesc="Flexible terminal-based text editor"
url="https://github.com/adsr/mle"
arch="all"
license="Apache-2.0"
makedepends="uthash-dev termbox-dev lua5.3-dev pcre-dev"
checkdepends="bash grep"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/adsr/mle/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
sed -i 's/-llua5.3/-llua/g' Makefile
}
build() {
export CFLAGS="$CFLAGS -I/usr/include/lua5.3"
export LDFLAGS="$LDFLAGS -L/usr/lib/lua5.3"
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" prefix=/usr install
install -d "$pkgdir/usr/share/man/man1"
install -m644 mle.1 "$pkgdir"/usr/share/man/man1/
}
sha512sums="014a8834a088f410a9ef5cd213140f1e4386726bd277f5fdffdfff8165cd1460ede54d5cb62a26bdef804391a524d398a439977b8f82add3d365936a3c5505ab mle-1.4.3.tar.gz"
|