aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-20 14:13:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-20 14:14:10 +0000
commitc6ba652bdbfc0677d4b862121d888141dfb9bd65 (patch)
tree97f063143ec572c2d2cf4f01cef2f7d2c8d1f29b /main/abuild
parent81070afb94cd7454dd87cadfb0d0faed7e556de8 (diff)
downloadaports-c6ba652bdbfc0677d4b862121d888141dfb9bd65.tar.bz2
aports-c6ba652bdbfc0677d4b862121d888141dfb9bd65.tar.xz
main/abuild: create instal_if for -doc subpackages
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/0001-abuild-add-install_if-for-doc-packages.patch25
-rw-r--r--main/abuild/APKBUILD12
2 files changed, 33 insertions, 4 deletions
diff --git a/main/abuild/0001-abuild-add-install_if-for-doc-packages.patch b/main/abuild/0001-abuild-add-install_if-for-doc-packages.patch
new file mode 100644
index 0000000000..696604ba2a
--- /dev/null
+++ b/main/abuild/0001-abuild-add-install_if-for-doc-packages.patch
@@ -0,0 +1,25 @@
+From 3020891009a6024b46bc779568644ce16605bda9 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Mon, 20 Jul 2015 14:10:36 +0000
+Subject: [PATCH] abuild: add install_if for -doc packages
+
+This lets users 'apk add docs' to always pull in -doc packages.
+---
+ abuild.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/abuild.in b/abuild.in
+index e76d873..41822af 100644
+--- a/abuild.in
++++ b/abuild.in
+@@ -1391,6 +1391,7 @@ default_doc() {
+ depends="$depends_doc"
+ pkgdesc="$pkgdesc (documentation)"
+ arch=${arch_doc:-"noarch"}
++ install_if="docs $pkgname=$pkgver-r$pkgrel"
+
+ local i
+ for i in doc man info html sgml licenses gtk-doc ri help; do
+--
+2.4.6
+
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index db4c2cc67f..f0da7da5fa 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -2,7 +2,7 @@
pkgname=abuild
pkgver=2.23.0
_ver=${pkgver%_git*}
-pkgrel=3
+pkgrel=4
pkgdesc="Script to build Alpine Packages"
url="http://git.alpinelinux.org/cgit/abuild/"
arch="all"
@@ -22,6 +22,7 @@ pkggroups="abuild"
source="http://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz
0001-abuild-fix-circular-dependency-for-symlink-deps.patch
0002-apkbuild-gem-resolver-fix-syntax.patch
+ 0001-abuild-add-install_if-for-doc-packages.patch
"
_builddir="$srcdir/$pkgname-$_ver"
@@ -68,10 +69,13 @@ gems() {
md5sums="864090a6016b3424d7b6bb31e84db3f0 abuild-2.23.0.tar.xz
c8ef8f4155d445842cc20379dbe01ded 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
-8d96bd94711cb172586a483a089bb5c8 0002-apkbuild-gem-resolver-fix-syntax.patch"
+8d96bd94711cb172586a483a089bb5c8 0002-apkbuild-gem-resolver-fix-syntax.patch
+0e1061040efb1e2a8d778ff5a94ddc3e 0001-abuild-add-install_if-for-doc-packages.patch"
sha256sums="4cae7d7035955d23d1f29d4d0cd00ce225b300e6e809ff240101feea97aa7262 abuild-2.23.0.tar.xz
2550d9d0dfeeb214aa0154b281a624f977d3b83ba678dc0f727f0c508996f26e 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
-239c9b119ba91c254b86fcb700b48dd3f8aae7bc5e902ce04bc839d95478f6b3 0002-apkbuild-gem-resolver-fix-syntax.patch"
+239c9b119ba91c254b86fcb700b48dd3f8aae7bc5e902ce04bc839d95478f6b3 0002-apkbuild-gem-resolver-fix-syntax.patch
+c5e57a750778894bb225775aee83e04c9891170e7ffb5313a1118ebde53d4c79 0001-abuild-add-install_if-for-doc-packages.patch"
sha512sums="50fc7649444079e5ba5552c2f4c57dedbdcd7b10727ed7b7bec8b4c85b37bbca1d76ab61bf3ab160520634e1742c3cd91fb294371bf653330ee0047337b6dfa9 abuild-2.23.0.tar.xz
4c3d1d778b60de9f9e789501e52ab0f17ef5f2ea5cb05e33cc95d59b98130907bce5ed4c4808244b22f14c17b91682447599aded1579c904cee8cd269bda7c85 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
-ecd774c509bf45fef15d967a185d5ab7cd4e5e2736d8979b17a8f822622db799eb2a149bedb020b7e9ce0451579a6c7e36f94eaa971b0570ecd6d7adb1a7e00a 0002-apkbuild-gem-resolver-fix-syntax.patch"
+ecd774c509bf45fef15d967a185d5ab7cd4e5e2736d8979b17a8f822622db799eb2a149bedb020b7e9ce0451579a6c7e36f94eaa971b0570ecd6d7adb1a7e00a 0002-apkbuild-gem-resolver-fix-syntax.patch
+13424388183d11c49c2a73ac0c4ae8094a7a9bc279d77c274cecc7d45eceb2e5a95b4d1e3c0c74accb93fbda52d0f33219606e5fb878125544c8d638aba027f6 0001-abuild-add-install_if-for-doc-packages.patch"