From 012f07aee79a6e95885cfffe2cece2a4e5c6e81e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 3 Mar 2012 22:38:41 +0000 Subject: Initial APKBUILD for trytond-product --- trytond-product/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 trytond-product/APKBUILD (limited to 'trytond-product') diff --git a/trytond-product/APKBUILD b/trytond-product/APKBUILD new file mode 100644 index 0000000..a38eda8 --- /dev/null +++ b/trytond-product/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-product +_pkgname=trytond_product +_tryton_major=2.2 +pkgver=2.2.0 +pkgrel=0 +pkgdesc="product module for Tryton" +url="http://www.tryton.org" +arch="noarch" +license="GPL3+" +depends="trytond " +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="422fa4a33019c84ae6e94c9123c94865 trytond_product-2.2.0.tar.gz" -- cgit v1.2.3