mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
850 B
Bash
29 lines
850 B
Bash
|
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
||
|
|
||
|
pkgname=flex
|
||
|
pkgver=2.5.35
|
||
|
pkgrel=1
|
||
|
pkgdesc="A tool for generating text-scanning programs"
|
||
|
arch=('arm')
|
||
|
url="http://flex.sourceforge.net"
|
||
|
license=('custom')
|
||
|
groups=('base-devel')
|
||
|
depends=('glibc' 'sh')
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2
|
||
|
lex.sh)
|
||
|
md5sums=('10714e50cea54dc7a227e3eddcd44d57'
|
||
|
'f725259ec23a9e87ee29e2ef82eda9a5')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver || return 1
|
||
|
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man || return 1
|
||
|
|
||
|
make || return 1
|
||
|
make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install || return 1
|
||
|
install -D -m755 $startdir/src/lex.sh $startdir/pkg/usr/bin/lex || return 1
|
||
|
|
||
|
install -D -m644 COPYING \
|
||
|
$startdir/pkg/usr/share/licenses/$pkgname/license.txt || return 1
|
||
|
}
|