From be6fc83cb917fd1aad2d6183228601d9da7625cb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 3 Mar 2012 22:38:42 +0000 Subject: Initial APKBUILD for trytond-stock --- trytond-stock/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 trytond-stock/APKBUILD diff --git a/trytond-stock/APKBUILD b/trytond-stock/APKBUILD new file mode 100644 index 0000000..c02334c --- /dev/null +++ b/trytond-stock/APKBUILD @@ -0,0 +1,30 @@ +# Automatically generated by tryton-module2apkbuild. Please check if there +# is an update available for this package and remove those tow lines. +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=trytond-stock +_pkgname=trytond_stock +_tryton_major=2.2 +pkgver=2.2.0 +pkgrel=0 +pkgdesc="stock module for Tryton" +url="http://www.tryton.org" +arch="noarch" +license="GPL3+" +depends="trytond trytond-party trytond-product trytond-company trytond-currency" +makedepends="python-dev py-setuptools" +subpackages="" +source="http://downloads.tryton.org/$_tryton_major/$_pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="48f402539d47696a2a0f4301ccec0460 trytond_stock-2.2.0.tar.gz" -- cgit v1.2.3