Commit 7cbabec0 authored by abveritas's avatar abveritas
Browse files

Adding quickaccess-plasmoid and lemonpos, point of sale software for small businesses

parent 98f72b62
#
# 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>
# from AUR package http://aur.archlinux.org/packages.php?ID=18854
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdeplasma-applets-quickaccess-plasmoid
pkgver=0.8.1
pkgrel=1
pkgdesc="Kdeplasma plasmoid for quick access to folders."
arch=('i686' 'x86_64')
url="http://www.kde-look.org/content/show.php/QuickAccess+(maintenance+fork)?content=101968"
install=$pkgname.install
license=('GPL')
depends=('kdebase-workspace' 'kdebase')
makedepends=('make' 'cmake' 'automoc4')
conflicts=(kde-extragear-plasmoids)
source=(http://www.kde-look.org/CONTENT/content-files/101968-plasma-widget-quickaccess_$pkgver.orig.tar.gz)
md5sums=('744f7d85662808869bf22eae53ca4660')
build() {
cd $srcdir/plasma-widget-quickaccess-$pkgver
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || return 1
make VERBOSE=1 || return 1
make DESTDIR=$pkgdir install || return 1
}
post_install() {
echo Run kbuildsycoca4 as user to refresh KDE plasma settings.
}
post_upgrade() {
echo Run kbuildsycoca4 as user to refresh KDE plasma settings.
}
#
# 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