Subject: [alpine-devel] [PATCH] testing/urwid: fixed installing example tarball for urwid-doc

From: Matt Smith <[email-masked]>
Date: Mon, 8 Nov 2010 21:19:25 -0600

---
 testing/urwid/APKBUILD |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/urwid/APKBUILD b/testing/urwid/APKBUILD
index c078cf8..7bcdcf2 100644
--- a/testing/urwid/APKBUILD
+++ b/testing/urwid/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Matt Smith <[email-masked]>
 pkgname=urwid
 pkgver=0.9.9.1
-pkgrel=0
+pkgrel=1
 pkgdesc="Urwid is a console user interface library for Python"
 url="http://excess.org/urwid/"
 license="LGPL"
@@ -45,7 +45,7 @@ doc() {
 	# copy documentation and example tarball
 	install -Dm644 reference.html "$subpkgdir"/usr/share/doc/$pkgname/reference.html
 	install -Dm644 tutorial.html "$subpkgdir"/usr/share/doc/$pkgname/tutorial.html
-	install -Dm644 "$srcdir"/tutorial_examples.tar.gz "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples.tar.gz
+	install -Dm644 "$startdir"/tutorial_examples.tar.gz "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples.tar.gz
 }
 
 md5sums="4722cdf898f711dcae1121aa80920152  urwid-0.9.9.1.tar.gz
-- 
1.7.3.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Thu, 11 Nov 2010 14:42:04 +0100

>  1 files changed, 2 insertions(+), 2 deletions(-)

this should have been merged with previous urwid patch.

I applied it anyways.

> +++ b/testing/urwid/APKBUILD

I fixed the apkbuild too so it generates the examples and installs them,
not as tarball.

>  md5sums="4722cdf898f711dcae1121aa80920152  urwid-0.9.9.1.tar.gz

-nc

---