Package Details: lemon 1.69-4

Git Clone URL: https://aur.archlinux.org/lemon.git (read-only)
Package Base: lemon
Description: The LALR Parser Generator used in sqlite.
Upstream URL: http://www.hwaci.com/sw/lemon/
Licenses: custom
Submitter: Raedwulf
Maintainer: agalakhov
Last Packager: agalakhov
Votes: 69
Popularity: 1.219470
First Submitted: 2008-12-20 18:45
Last Updated: 2015-09-13 20:47

Dependencies (1)

Required by (2)

Sources (4)

Latest Comments

sakhnik commented on 2014-12-16 20:11

The package really needs update. Would the maintainer please pay attention to the comments?

haawda commented on 2014-11-18 11:35

mkdir -p ${srcdir}/build fails if the directory already exists, e.g. from previous builds. Please use

[ -d ${srcdir}/build ] || mkdir -p ${srcdir}/build

bullno1 commented on 2014-07-06 05:14

PKGBUILD without package() is deprecated, please update:

pkgname=lemon
pkgrel=3
pkgver=1.69
pkgdesc="The LEMON LALR Parser Generator used in sqlite."
arch=('i686' 'x86_64')
url="http://www.hwaci.com/sw/lemon/"
license=('custom')
depends=()
source=('lemon.c::http://www.sqlite.org/src/raw/tool/lemon.c?name=680980c7935bfa1edec20c804c9e5ba4b1dd96f5'
'lempar.c::http://www.sqlite.org/src/raw/tool/lempar.c?name=01ca97f87610d1dac6d8cd96ab109ab1130e76dc'
lemon_share.diff)

build() {
mkdir -p ${srcdir}/build
cd build
cp ${srcdir}/lemon.c ${srcdir}/lempar.c .
patch -Np0 -i ${srcdir}/lemon_share.diff
make lemon
}

package() {
cd ${srcdir}/build
install -Dm755 lemon $pkgdir/usr/bin/lemon
install -Dm644 lempar.c $pkgdir/usr/share/lemon/lempar.c
}

md5sums=('1e13360f66009275f2e78816911a1ed7'
'fbf6255b88d54cf284c833da0d9ee5d2'
'20eedecfc5dce37ae6ef5055ac3f8a33')

yorickpeterse commented on 2013-04-16 14:30

PKGBUILD is still broken, the following one worked for me:

pkgname=lemon
pkgrel=3
pkgver=1.69
pkgdesc="The LEMON LALR Parser Generator used in sqlite."
arch=('i686' 'x86_64')
url="http://www.hwaci.com/sw/lemon/"
license=('custom')
depends=()
source=('lemon.c::http://www.sqlite.org/src/raw/tool/lemon.c?name=680980c7935bfa1edec20c804c9e5ba4b1dd96f5'
'lempar.c::http://www.sqlite.org/src/raw/tool/lempar.c?name=01ca97f87610d1dac6d8cd96ab109ab1130e76dc')
md5sums=('1e13360f66009275f2e78816911a1ed7'
'fbf6255b88d54cf284c833da0d9ee5d2')

build() {
make lemon
}

package() {
install -Dm755 lemon $pkgdir/usr/bin/lemon
install -Dm644 lempar.c $pkgdir/usr/share/lemon/lempar.c
}

Raedwulf commented on 2013-01-30 08:56

Updated the package, thanks kraileth + baskerville!

Raedwulf commented on 2013-01-30 08:54

Updated the package!

baskerville commented on 2012-12-13 15:52

Or preferably this PKGBUILD:
https://github.com/baskerville/PKGBUILDs/blob/master/lemon/PKGBUILD

kraileth commented on 2012-08-29 10:22

The last PKGBUILD proposed in the comments is broken again. In case anybody needs this, too, here's a working one:

pkgname=lemon
pkgrel=3
pkgver=1.69
pkgdesc="The LEMON LALR Parser Generator used in sqlite."
arch=('i686' 'x86_64')
url="http://www.hwaci.com/sw/lemon/"
license=('custom')
depends=()
source=('lemon.c::http://www.sqlite.org/src/raw/tool/lemon.c?name=680980c7935bfa1edec20c804c9e5ba4b1dd96f5'
'lempar.c::http://www.sqlite.org/src/raw/tool/lempar.c?name=01ca97f87610d1dac6d8cd96ab109ab1130e76dc')
md5sums=('1e13360f66009275f2e78816911a1ed7'
'fbf6255b88d54cf284c833da0d9ee5d2')

build() {
make lemon
install -Dm755 lemon $startdir/pkg/usr/bin/lemon
install -Dm644 lempar.c $startdir/pkg/usr/share/lemon/lempar.c
}

Raedwulf commented on 2012-04-25 19:38

Thanks sammasati for the new links!

Raedwulf commented on 2012-04-25 19:36

Thanks sammasati!

All comments