summaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-11 18:49:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-12 12:02:19 +0000
commitbc1f499d60d70b26d511575ebf2c8ebe9bd20984 (patch)
tree921a468788859c53f3d142ab06e9b228c661387c /main/abuild
parentcdc6fc89a92e55cc72a8e7429b689862c678397c (diff)
downloadaports-bc1f499d60d70b26d511575ebf2c8ebe9bd20984.tar.bz2
aports-bc1f499d60d70b26d511575ebf2c8ebe9bd20984.tar.xz
main/abuild: include /usr/share/ri in -doc packages
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/0001-abuild-include-usr-share-ri-in-doc-packages.patch25
-rw-r--r--main/abuild/APKBUILD8
2 files changed, 30 insertions, 3 deletions
diff --git a/main/abuild/0001-abuild-include-usr-share-ri-in-doc-packages.patch b/main/abuild/0001-abuild-include-usr-share-ri-in-doc-packages.patch
new file mode 100644
index 000000000..31f5a714e
--- /dev/null
+++ b/main/abuild/0001-abuild-include-usr-share-ri-in-doc-packages.patch
@@ -0,0 +1,25 @@
+From f640500e4cac6d126b8c109ffd277c2775243bdd Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Thu, 11 Oct 2012 18:47:29 +0000
+Subject: [PATCH] abuild: include /usr/share/ri in -doc packages
+
+---
+ abuild.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/abuild.in b/abuild.in
+index 0fde169..62a860f 100755
+--- a/abuild.in
++++ b/abuild.in
+@@ -1132,7 +1132,7 @@ default_doc() {
+ arch=${arch_doc:-"noarch"}
+
+ local i
+- for i in doc man info html sgml licenses gtk-doc; do
++ for i in doc man info html sgml licenses gtk-doc ri; do
+ if [ -d "$pkgdir/usr/share/$i" ]; then
+ mkdir -p "$subpkgdir/usr/share"
+ mv "$pkgdir/usr/share/$i" "$subpkgdir/usr/share/"
+--
+1.7.12.3
+
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 6ce8ae46d..375328080 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -3,7 +3,7 @@ pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=2.13.0
_ver=${pkgver%_git*}
-pkgrel=0
+pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 uclibc-utils
abuildhelper curl"
@@ -13,7 +13,8 @@ subpackages="apkbuild-cpan:cpan"
pkggroups="abuild"
arch="all"
license=GPL-2
-source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$_ver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$_ver.tar.bz2
+ 0001-abuild-include-usr-share-ri-in-doc-packages.patch"
_builddir="$srcdir/$pkgname-$_ver"
prepare() {
@@ -50,4 +51,5 @@ cpan() {
mv "$pkgdir"/usr/bin/apkbuild-cpan "$subpkgdir"/usr/bin/
}
-md5sums="cbb9bc53843510c2c15c2a5eb369cf67 abuild-2.13.0.tar.bz2"
+md5sums="cbb9bc53843510c2c15c2a5eb369cf67 abuild-2.13.0.tar.bz2
+923930fdc2dd60b7debe2f9fbced33a8 0001-abuild-include-usr-share-ri-in-doc-packages.patch"