summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/expac-relative/PKGBUILD46
-rw-r--r--pcr/expac-relative/add-options-dbpath-and-config.patch196
-rw-r--r--pcr/tryton/PKGBUILD28
-rw-r--r--pcr/tryton/tryton.desktop8
-rw-r--r--pcr/trytond-carrier/PKGBUILD25
-rw-r--r--pcr/trytond-product-price-list/PKGBUILD25
-rw-r--r--pcr/trytond-purchase/PKGBUILD25
-rw-r--r--pcr/trytond-sale-invoice-grouping/PKGBUILD25
-rw-r--r--pcr/trytond-sale-opportunity/PKGBUILD25
-rw-r--r--pcr/trytond-sale-price-list/PKGBUILD25
-rw-r--r--pcr/trytond-sale-shipment-cost/PKGBUILD25
-rw-r--r--pcr/trytond-sale-supply-drop-shipment/PKGBUILD25
-rw-r--r--pcr/trytond-sale-supply/PKGBUILD25
-rw-r--r--pcr/trytond-sale/PKGBUILD25
-rw-r--r--pcr/trytond-stock-supply/PKGBUILD25
15 files changed, 553 insertions, 0 deletions
diff --git a/pcr/expac-relative/PKGBUILD b/pcr/expac-relative/PKGBUILD
new file mode 100644
index 000000000..4f25e926b
--- /dev/null
+++ b/pcr/expac-relative/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 87501 2013-04-02 00:06:04Z dreisner $
+# Maintainer: Dave Reisner <d@falconindy.com>
+# Maintainer (Parabola): Esteban Carnevale <alfplayer@mailoo.org>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=expac
+pkgname=expac-relative
+pkgver=3
+pkgrel=1
+pkgdesc="pacman database extraction utility, with dbpath and config options support"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://github.com/falconindy/expac"
+license=('GPL')
+conflicts=$_pkgname
+provides=$_pkgname
+depends=('pacman')
+makedepends=('perl')
+source=("http://code.falconindy.com/archive/$_pkgname/$_pkgname-$pkgver.tar.gz"{,.sig}
+ 'add-options-dbpath-and-config.patch')
+md5sums=('2f53f9663b69948a4a8bb03c1aa435a5'
+ 'SKIP'
+ '30539a5f7d1acbebb393535ae8ecf570')
+
+prepare() {
+ cd "$_pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/add-options-dbpath-and-config.patch"
+
+ sed '/\*\//q' expac.c >LICENSE
+}
+
+build() {
+ cd "$_pkgname-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh
diff --git a/pcr/expac-relative/add-options-dbpath-and-config.patch b/pcr/expac-relative/add-options-dbpath-and-config.patch
new file mode 100644
index 000000000..100fbb31d
--- /dev/null
+++ b/pcr/expac-relative/add-options-dbpath-and-config.patch
@@ -0,0 +1,196 @@
+From cc0135f30893b719d34845c088e215900962d8dd Mon Sep 17 00:00:00 2001
+From: Esteban Carnevale <alfplayer@mailoo.org>
+Date: Sat, 8 Feb 2014 17:49:10 -0300
+Subject: [PATCH] add options dbpath and config
+
+---
+ README.pod | 12 +++++++++++
+ expac.c | 72 +++++++++++++++++++++++++++++++++++++++++---------------------
+ 2 files changed, 60 insertions(+), 24 deletions(-)
+
+diff --git a/README.pod b/README.pod
+index 8e51329..ba27281 100644
+--- a/README.pod
++++ b/README.pod
+@@ -24,6 +24,18 @@ a query string (in the case of a search), or in repo/package syntax when the
+
+ =over 4
+
++=item B<-b, --dbpath> <path>
++
++Specify an alternative database location (a typical default is
++/var/lib/pacman). This should not be used unless you know what you are doing.
++NOTE: if specified, this is an absolute path and the root path is not
++automatically prepended.
++
++=item B<-c, --config> <file>
++
++Specify an alternate configuration file (a typical default is
++/etc/pacman.conf).
++
+ =item B<-Q, --query>
+
+ Search the local database for provided targets. This is the default behavior.
+diff --git a/expac.c b/expac.c
+index ae3ef6d..3f9b0ba 100644
+--- a/expac.c
++++ b/expac.c
+@@ -36,6 +36,8 @@
+ #include <time.h>
+
+ #define DEFAULT_DELIM "\n"
++#define DEFAULT_DBPATH "/var/lib/pacman"
++#define DEFAULT_CONFIGFILE "/etc/pacman.conf"
+ #define DEFAULT_LISTDELIM " "
+ #define DEFAULT_TIMEFMT "%c"
+ #define FORMAT_TOKENS "BCDEGLMNOPRSVabdhmnprsuvw%"
+@@ -58,10 +60,13 @@ bool local = false;
+ bool groups = false;
+ bool localpkg = false;
+ char humansize = 'B';
++char dbtype = NULL;
+ const char *format = NULL;
+ const char *timefmt = NULL;
+ const char *listdelim = NULL;
+ const char *delim = NULL;
++const char *dbpath = NULL;
++const char *configfile = NULL;
+ int pkgcounter = 0;
+
+ typedef const char *(*extractfn)(void*);
+@@ -154,7 +159,7 @@ static alpm_handle_t *alpm_init(void) {
+ char line[PATH_MAX];
+ char *ptr, *section = NULL;
+
+- handle = alpm_initialize("/", "/var/lib/pacman", &alpm_errno);
++ handle = alpm_initialize("/", dbpath, &alpm_errno);
+ if (!handle) {
+ alpm_strerror(alpm_errno);
+ return NULL;
+@@ -162,9 +167,9 @@ static alpm_handle_t *alpm_init(void) {
+
+ db_local = alpm_get_localdb(handle);
+
+- fp = fopen("/etc/pacman.conf", "r");
++ fp = fopen(configfile, "r");
+ if (!fp) {
+- perror("fopen: /etc/pacman.conf");
++ fprintf(stderr, "fopen:%s\n", configfile);
+ return handle;
+ }
+
+@@ -209,6 +214,8 @@ static void usage(void) {
+ " Options:\n"
+ " -Q, --local search local DB (default)\n"
+ " -S, --sync search sync DBs\n"
++ " -b, --dbpath <path> alternative database location (default: /var/lib/pacman)\n"
++ " -c, --config <path> alternative configuration file (default: /etc/pacman.conf)\n"
+ " -s, --search search for matching regex\n"
+ " -g, --group return packages matching targets as groups\n"
+ " -H, --humansize <size> format package sizes in SI units (default: bytes)\n"
+@@ -222,41 +229,43 @@ static void usage(void) {
+ "For more details see expac(1).\n");
+ }
+
+-static int parse_options(int argc, char *argv[], alpm_handle_t *handle) {
++static int parse_options(int argc, char *argv[]) {
+ int opt, option_index = 0;
+ const char *i;
+
+ static struct option opts[] = {
+- {"readone", no_argument, 0, '1'},
+- {"delim", required_argument, 0, 'd'},
+- {"listdelim", required_argument, 0, 'l'},
+- {"group", required_argument, 0, 'g'},
+- {"help", no_argument, 0, 'h'},
+- {"file", no_argument, 0, 'p'},
+- {"humansize", required_argument, 0, 'H'},
+- {"query", no_argument, 0, 'Q'},
+- {"sync", no_argument, 0, 'S'},
+- {"search", no_argument, 0, 's'},
+- {"timefmt", required_argument, 0, 't'},
+- {"verbose", no_argument, 0, 'v'},
++ {"readone", no_argument, 0, '1'},
++ {"delim", required_argument, 0, 'd'},
++ {"dbpath", required_argument, 0, 'b'},
++ {"configfile", required_argument, 0, 'c'},
++ {"listdelim", required_argument, 0, 'l'},
++ {"group", required_argument, 0, 'g'},
++ {"help", no_argument, 0, 'h'},
++ {"file", no_argument, 0, 'p'},
++ {"humansize", required_argument, 0, 'H'},
++ {"query", no_argument, 0, 'Q'},
++ {"sync", no_argument, 0, 'S'},
++ {"search", no_argument, 0, 's'},
++ {"timefmt", required_argument, 0, 't'},
++ {"verbose", no_argument, 0, 'v'},
+ {0, 0, 0, 0}
+ };
+
+- while (-1 != (opt = getopt_long(argc, argv, "1l:d:gH:hf:pQSst:v", opts, &option_index))) {
++ while (-1 != (opt = getopt_long(argc, argv, "1l:d:b:c:gH:hf:pQSst:v", opts, &option_index))) {
+ switch (opt) {
+ case 'S':
+- if (dblist) {
++ if (dbtype) {
+ fprintf(stderr, "error: can only select one repo option (use -h for help)\n");
+ return 1;
+ }
+- dblist = alpm_list_copy(alpm_get_syncdbs(handle));
++ dbtype = 's';
+ break;
+ case 'Q':
+- if (dblist) {
++ if (dbtype) {
+ fprintf(stderr, "error: can only select one repo option (use -h for help)\n");
+ return 1;
+ }
+- dblist = alpm_list_add(dblist, db_local);
++ dbtype = 'q';
+ local = true;
+ break;
+ case '1':
+@@ -265,6 +274,12 @@ static int parse_options(int argc, char *argv[], alpm_handle_t *handle) {
+ case 'd':
+ delim = optarg;
+ break;
++ case 'b':
++ dbpath = optarg;
++ break;
++ case 'c':
++ configfile = optarg;
++ break;
+ case 'g':
+ groups = true;
+ break;
+@@ -719,14 +734,23 @@ int main(int argc, char *argv[]) {
+ alpm_handle_t *handle;
+ alpm_list_t *results = NULL, *i;
+
++ ret = parse_options(argc, argv);
++ if (ret != 0) {
++ goto finish;
++ }
++
++ dbpath = dbpath ? dbpath : DEFAULT_DBPATH;
++ configfile = configfile ? configfile : DEFAULT_CONFIGFILE;
++
+ handle = alpm_init();
+ if (!handle) {
+ return ret;
+ }
+
+- ret = parse_options(argc, argv, handle);
+- if (ret != 0) {
+- goto finish;
++ if (dbtype == 's') {
++ dblist = alpm_list_copy(alpm_get_syncdbs(handle));
++ } else if (dbtype == 'q') {
++ dblist = alpm_list_add(dblist, db_local);
+ }
+
+ /* ensure sane defaults */
+--
+1.9.0
+
+
diff --git a/pcr/tryton/PKGBUILD b/pcr/tryton/PKGBUILD
new file mode 100644
index 000000000..bca68fbf0
--- /dev/null
+++ b/pcr/tryton/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Contributor: Florian Walch <florian.walch@gmx.at>
+pkgname=tryton
+pkgver=3.0.1
+_pkgdir=3.0
+pkgrel=2
+pkgdesc="A three-tiers high-level general purpose application platform (client application)"
+arch=('any')
+url="http://www.tryton.org/"
+license=('GPL3')
+depends=('python2>=2.4' 'gtk2' 'pygtk>=2.0' 'librsvg' 'python2-dateutil')
+optdepends=('python2-pytz: timezone support')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz"
+ 'tryton.desktop')
+md5sums=('96f1c2619e011f8660b177fb8651f064'
+ '7ca15ad6c790c78817fe1a1b6a2c3fcf')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+ install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+}
diff --git a/pcr/tryton/tryton.desktop b/pcr/tryton/tryton.desktop
new file mode 100644
index 000000000..19ad39b4d
--- /dev/null
+++ b/pcr/tryton/tryton.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Tryton
+GenericName=Client of the Tryton application platform
+Icon=/usr/share/pixmaps/tryton/tryton-icon.png
+Exec=/usr/bin/tryton
+Type=Application
+Categories=Office;Finance;
+
diff --git a/pcr/trytond-carrier/PKGBUILD b/pcr/trytond-carrier/PKGBUILD
new file mode 100644
index 000000000..c4827cac0
--- /dev/null
+++ b/pcr/trytond-carrier/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-carrier
+_pkgname=trytond_carrier
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The carrier module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("f1c0c88d3e3ab4f2955a252125090eb7")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-product-price-list/PKGBUILD b/pcr/trytond-product-price-list/PKGBUILD
new file mode 100644
index 000000000..bc55f3e7b
--- /dev/null
+++ b/pcr/trytond-product-price-list/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-product-price-list
+_pkgname=trytond_product_price_list
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The product_price_list module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-company>=3.0' 'trytond-product>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("d220b8f8693368fe17688ddeda92aaa8")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-purchase/PKGBUILD b/pcr/trytond-purchase/PKGBUILD
new file mode 100644
index 000000000..5b0042cb0
--- /dev/null
+++ b/pcr/trytond-purchase/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-purchase
+_pkgname=trytond_purchase
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The purchase module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-account>=3.0' 'trytond-account-invoice>=3.0' 'trytond-account-product>=3.0' 'trytond-company>=3.0' 'trytond-currency>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0' 'trytond-stock>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("83da5c8fce0588ca6077e1adb21d15d9")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale-invoice-grouping/PKGBUILD b/pcr/trytond-sale-invoice-grouping/PKGBUILD
new file mode 100644
index 000000000..8606d43e2
--- /dev/null
+++ b/pcr/trytond-sale-invoice-grouping/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale-invoice-grouping
+_pkgname=trytond_sale_invoice_grouping
+pkgver=3.0.1
+_pkgdir=3.0
+pkgrel=2
+pkgdesc="The sale_invoice_grouping module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-party>=3.0' 'trytond-account-invoice>=3.0' 'trytond-sale>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("aef313cc4465536e7c4c925514bbdc3f")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale-opportunity/PKGBUILD b/pcr/trytond-sale-opportunity/PKGBUILD
new file mode 100644
index 000000000..c2702eb4b
--- /dev/null
+++ b/pcr/trytond-sale-opportunity/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale-opportunity
+_pkgname=trytond_sale_opportunity
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The sale_opportunity module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-account>=3.0' 'trytond-company>=3.0' 'trytond-currency>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0' 'trytond-sale>=3.0' 'trytond-stock>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("08a104e969fa638f265e427260756dfd")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale-price-list/PKGBUILD b/pcr/trytond-sale-price-list/PKGBUILD
new file mode 100644
index 000000000..f0d501e9a
--- /dev/null
+++ b/pcr/trytond-sale-price-list/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale-price-list
+_pkgname=trytond_sale_price_list
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The sale_price_list module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-party>=3.0' 'trytond-product-price-list>=3.0' 'trytond-sale>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("aad1178622b585285bd24964926a1326")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale-shipment-cost/PKGBUILD b/pcr/trytond-sale-shipment-cost/PKGBUILD
new file mode 100644
index 000000000..723ebfc11
--- /dev/null
+++ b/pcr/trytond-sale-shipment-cost/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale-shipment-cost
+_pkgname=trytond_sale_shipment_cost
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The sale_shipment_cost module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-account-invoice>=3.0' 'trytond-carrier>=3.0' 'trytond-currency>=3.0' 'trytond-sale>=3.0' 'trytond-stock>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("031f6c3decc0f8918527b324c3674238")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale-supply-drop-shipment/PKGBUILD b/pcr/trytond-sale-supply-drop-shipment/PKGBUILD
new file mode 100644
index 000000000..2c8acf5e5
--- /dev/null
+++ b/pcr/trytond-sale-supply-drop-shipment/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale-supply-drop-shipment
+_pkgname=trytond_sale_supply_drop_shipment
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The sale_supply_drop_shipment module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-company>=3.0' 'trytond-purchase>=3.0' 'trytond-sale>=3.0' 'trytond-sale-supply>=3.0' 'trytond-stock>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("3c7ace69223264f6a06ee2a5393bdb3e")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale-supply/PKGBUILD b/pcr/trytond-sale-supply/PKGBUILD
new file mode 100644
index 000000000..031c2ca85
--- /dev/null
+++ b/pcr/trytond-sale-supply/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale-supply
+_pkgname=trytond_sale_supply
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The sale_supply module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-purchase>=3.0' 'trytond-sale>=3.0' 'trytond-stock>=3.0' 'trytond-stock-supply>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("806c0c542375cd2f9883352c544b2411")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-sale/PKGBUILD b/pcr/trytond-sale/PKGBUILD
new file mode 100644
index 000000000..f6ac99044
--- /dev/null
+++ b/pcr/trytond-sale/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-sale
+_pkgname=trytond_sale
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The sale module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-account>=3.0' 'trytond-account-invoice>=3.0' 'trytond-account-product>=3.0' 'trytond-company>=3.0' 'trytond-currency>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0' 'trytond-stock>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("87b25a8af9d592a903a071031bd5f2e9")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file
diff --git a/pcr/trytond-stock-supply/PKGBUILD b/pcr/trytond-stock-supply/PKGBUILD
new file mode 100644
index 000000000..6f65cfc8d
--- /dev/null
+++ b/pcr/trytond-stock-supply/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond-stock-supply
+_pkgname=trytond_stock_supply
+pkgver=3.0.0
+_pkgdir=3.0
+pkgrel=3
+pkgdesc="The stock_supply module of the Tryton application platform"
+arch=('any')
+url='http://www.tryton.org/'
+license=('GPL3')
+groups=('trytond-modules')
+depends=('trytond>=3.0' 'trytond-account>=3.0' 'trytond-party>=3.0' 'trytond-product>=3.0' 'trytond-purchase>=3.0' 'trytond-stock>=3.0')
+makedepends=('python2-distribute')
+source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
+md5sums=("19b178ba0b6d42cc64e09577113edf88")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+} \ No newline at end of file