Commit 634532eb authored by Leo's avatar Leo Committed by Francesco Colista

main/flex: modernize, fix license

parent f35a349c
......@@ -2,19 +2,17 @@
# Contributor: Arch3y <arch3y@riseup.net>
pkgname=flex
pkgver=2.6.4
pkgrel=1
pkgrel=2
pkgdesc="A tool for generating text-scanning programs"
url="https://github.com/westes/flex"
arch="all"
license="BSD and LGPL-2.0-or-later"
license="BSD-2-Clause AND LGPL-2.0-or-later"
depends="m4"
depends_dev="flex"
makedepends="$depends_dev m4 bison help2man"
makedepends="$depends_dev bison help2man"
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev"
source="https://github.com/westes/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
......@@ -31,8 +29,8 @@ build() {
}
check() {
cd "$builddir"
make check
cd "$builddir"
make check
}
package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment