aboutsummaryrefslogtreecommitdiffstats
path: root/main/newt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/newt/APKBUILD')
-rw-r--r--main/newt/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/main/newt/APKBUILD b/main/newt/APKBUILD
index c87d36e986..858ecd265f 100644
--- a/main/newt/APKBUILD
+++ b/main/newt/APKBUILD
@@ -1,20 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=newt
-pkgver=0.52.10
-pkgrel=1
+pkgver=0.52.11
+pkgrel=0
pkgdesc="Redhat's Newt windowing toolkit development files"
url="https://fedorahosted.org/newt/"
license="LGPL-2"
depends=
makedepends="slang-dev popt-dev python-dev ncurses-dev wget"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc py-newt:py"
source="https://fedorahosted.org/releases/n/e/newt/newt-$pkgver.tar.gz
- $pkgname-0.52.7-notcl.patch
"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
for i in ../*.patch; do
+ [ -r "$i" ] || continue
msg "Applying $i..."
patch -p1 < $i || return 1
done
@@ -38,5 +38,11 @@ package() {
make -j1 DESTDIR="$pkgdir" prefix="/usr" RPM_OPT_FLAGS="ERROR" install \
|| true
}
-md5sums="bcbcc87ec19ba37d34f819209afa2e15 newt-0.52.10.tar.gz
-6780156f3b66a3f05efe1ee821617031 newt-0.52.7-notcl.patch"
+
+py() {
+ pkgdesc="A NEWT module for Python"
+ mkdir -p "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
+}
+
+md5sums="4b9a0685ecd180c42d2c4a5806e3fc52 newt-0.52.11.tar.gz"