aboutsummaryrefslogtreecommitdiffstats
path: root/main/flex/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-25 21:37:35 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 15:14:04 +0000
commit634532ebf59b297a8a03e0afbfbde11489fec9e6 (patch)
treea09f804f29f5d7c4094fad6018598dfff24823df /main/flex/APKBUILD
parentf35a349c11f5d94bcecf5d3b8c8a3bcf22ec3488 (diff)
downloadaports-634532ebf59b297a8a03e0afbfbde11489fec9e6.tar.bz2
aports-634532ebf59b297a8a03e0afbfbde11489fec9e6.tar.xz
main/flex: modernize, fix license
Diffstat (limited to 'main/flex/APKBUILD')
-rw-r--r--main/flex/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD
index fe03b8dfa0..f3e3225ae6 100644
--- a/main/flex/APKBUILD
+++ b/main/flex/APKBUILD
@@ -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() {