Commit 8eccde97 authored by abveritas's avatar abveritas

Adding lemonpos, point of sale software for small businesses

parent 999f4487
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=lemonpos
pkgver=0.9.2
pkgrel=1
pkgdesc="An open source Point of Sale software targeted for micro, small and medium businesses."
url="http://lemonpos.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('kdelibs')
makedepends=('automoc4' 'cmake')
source=(http://downloads.sourceforge.net/project/lemonpos/real/${pkgname}-${pkgver}.tar.bz2)
md5sums=(47b70160da0073bb484c8325fe8969ec)
install=('lemonpos.install')
build() {
cd ${srcdir}/${pkgname}/src
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
msg "Starting make..."
make || return 1
msg "Make successful, installIing..."
make DESTDIR=${pkgdir} install || return 1
}
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
echo "Remember that you need to install either mysql or postgresql for this package"
echo "to work. Also make sure to read install the lemonpos database which is at"
echo "/usr/share/apps/lemon/lemon_mysql.sql and use:"
echo "cat lemon_mysql.sql | mysql -u root to set it up"
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
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