diff options
Diffstat (limited to 'main/flex')
-rw-r--r-- | main/flex/APKBUILD | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD index df31897a4e..cfa5dc3eab 100644 --- a/main/flex/APKBUILD +++ b/main/flex/APKBUILD @@ -1,24 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=flex -pkgver=2.6.1 +pkgver=2.6.2 pkgrel=0 pkgdesc="A tool for generating text-scanning programs" url="https://github.com/westes/flex" arch="all" license="BSD and LGPLv2+" -depends='m4' +depends="m4" depends_dev="flex" -makedepends="$depends_dev m4 bison" -source="https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.xz" +makedepends="$depends_dev m4 bison help2man" subpackages="$pkgname-doc $pkgname-libs $pkgname-dev" +source="https://github.com/westes/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" -prepare() { - cd "$srcdir/$pkgname-$pkgver" -} - +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir/$pkgname-$pkgver" - + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -32,11 +28,11 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$builddir" make install DESTDIR="$pkgdir" || return 1 ln -s flex "$pkgdir"/usr/bin/lex || return 1 } -md5sums="cd3c86290fc2676a641aefafeb10848a flex-2.6.1.tar.xz" -sha256sums="2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f flex-2.6.1.tar.xz" -sha512sums="1e35d0447f59139b98ede085d1a603d4f61cf8bc11cf2e291a3f492a05c60ee61535481b878585cd6843cd9b3c7952c834adfa78a6a71c64802e7b3069dec9d1 flex-2.6.1.tar.xz" +md5sums="cc6d76c333db7653d5caf423a3335239 flex-2.6.2.tar.gz" +sha256sums="9a01437a1155c799b7dc2508620564ef806ba66250c36bf5f9034b1c207cb2c9 flex-2.6.2.tar.gz" +sha512sums="481fe3f1c370fe04d5a605a826c53dd0afa5b6ea655f0d14fa9bb9cb498c016f68cef8fea806458f07baa7ae5bc1ac729be427cb4e0cc39ce744a809ef6442b3 flex-2.6.2.tar.gz" |