diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-03-03 22:38:44 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-03-03 22:38:44 +0000 |
commit | d0fe082568a5f8f04fc9b87ca1cc9f6e9880e170 (patch) | |
tree | 361dc3bde6a5aec59dbfbe94c52ce2fb5c410bbc | |
parent | 89a139d46c072f14473d722661b06fa4ba1a0aac (diff) | |
download | scripts-d0fe082568a5f8f04fc9b87ca1cc9f6e9880e170.tar.bz2 scripts-d0fe082568a5f8f04fc9b87ca1cc9f6e9880e170.tar.xz |
Initial APKBUILD for trytond-timesheet
-rw-r--r-- | trytond-timesheet/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/trytond-timesheet/APKBUILD b/trytond-timesheet/APKBUILD new file mode 100644 index 0000000..6d1a6bf --- /dev/null +++ b/trytond-timesheet/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 <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=trytond-timesheet +_pkgname=trytond_timesheet +_tryton_major=2.2 +pkgver=2.2.0 +pkgrel=0 +pkgdesc="timesheet module for Tryton" +url="http://www.tryton.org" +arch="noarch" +license="GPL3+" +depends="trytond trytond-company trytond-company-work-time" +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="abd201283fcb18f5e1c3c9920f4d0563 trytond_timesheet-2.2.0.tar.gz" |