aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templayer/APKBUILD
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2010-11-08 20:58:14 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-11 12:11:18 +0000
commitfa8452a1ae9c321963bd1ad2cef4f856fa3a625e (patch)
tree645642c7e0e55086520051058d21a47dfcaf57db /testing/templayer/APKBUILD
parent94394441b273f85b63b267e381efab160fe526ff (diff)
downloadaports-fa8452a1ae9c321963bd1ad2cef4f856fa3a625e.tar.gz
aports-fa8452a1ae9c321963bd1ad2cef4f856fa3a625e.tar.bz2
aports-fa8452a1ae9c321963bd1ad2cef4f856fa3a625e.tar.xz
testing/templayer: new aport
Diffstat (limited to 'testing/templayer/APKBUILD')
-rw-r--r--testing/templayer/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/templayer/APKBUILD b/testing/templayer/APKBUILD
new file mode 100644
index 0000000000..9fd2dba81e
--- /dev/null
+++ b/testing/templayer/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Matt Smith <mcs@darkregion.net>
+# Maintainer: Matt Smith <mcs@darkregion.net>
+pkgname=templayer
+pkgver=1.5.1
+pkgrel=0
+pkgdesc="Templayer is a layered template library for Python and Django"
+url="http://excess.org/templayer/"
+license="LGPL"
+depends="python"
+makedepends="python-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://excess.org/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root "$pkgdir"
+}
+
+doc() {
+ mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
+ cd "$_builddir"
+ install -Dm644 docs/reference.html "$subpkgdir"/usr/share/doc/$pkgname/reference.html
+ install -Dm644 docs/tutorial.html "$subpkgdir"/usr/share/doc/$pkgname/tutorial.html
+ install -Dm644 docs/tutorial_examples.tar.gz "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples.tar.gz
+}
+
+md5sums="9d1a3aa0cece34a2492792278aad406d templayer-1.5.1.tar.gz"