diff options
-rw-r--r-- | main/abuild/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index e43fc434b0..a1812f3129 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -2,7 +2,7 @@ pkgdesc="Script to build Alpine Packages" pkgname=abuild pkgver=2.12.0 -pkgrel=0 +pkgrel=1 url=http://git.alpinelinux.org/cgit/abuild/ source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2 " @@ -10,6 +10,7 @@ depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 uclibc-utils abuildhelper curl" makedepends="openssl-dev pkgconfig" install="$pkgname.pre-install $pkgname.pre-upgrade" +subpackages="apkbuild-cpan:cpan" pkggroups="abuild" arch="all" license=GPL-2 @@ -38,4 +39,12 @@ package() { install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles } +cpan() { + pkgdesc="Script to generate perl APKBUILD from CPAN" + depends="perl perl-libwww perl-json" + arch="noarch" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/apkbuild-cpan "$subpkgdir"/usr/bin/ +} + md5sums="646b78381f0754d782840cba51ddd3b2 abuild-2.12.0.tar.bz2" |