diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-19 13:54:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-19 13:56:29 +0000 |
commit | c6161a21f9e2cca148c41986e77facb701259ef1 (patch) | |
tree | e13ae20edd7f5b5eb60d134ba9849e0f4986ad0a | |
parent | 4e671185f1cf09fca541a09b76dfba66a9997457 (diff) | |
download | aports-c6161a21f9e2cca148c41986e77facb701259ef1.tar.bz2 aports-c6161a21f9e2cca148c41986e77facb701259ef1.tar.xz |
testing/rtorrent: let internal default_doc create the -doc package
-rw-r--r-- | testing/rtorrent/APKBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testing/rtorrent/APKBUILD b/testing/rtorrent/APKBUILD index 9987bf112b..01c6162720 100644 --- a/testing/rtorrent/APKBUILD +++ b/testing/rtorrent/APKBUILD @@ -27,15 +27,12 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install -} - -doc() { - mkdir -p "$subpkgdir" || return 1 - - cd "${srcdir}/${pkgname}-${pkgver}" - install -D doc/faq.xml "${subpkgdir}"/usr/share/doc/rtorrent/faq.xml || return 1 - install -D doc/rtorrent.1 "${subpkgdir}"/usr/share/man/man1/rtorrent.1 || return 1 - install -D doc/rtorrent.rc "${subpkgdir}"/usr/share/doc/rtorrent/rtorrent.rc || return 1 + install -D doc/faq.xml "${pkgdir}"/usr/share/doc/rtorrent/faq.xml \ + || return 1 + install -D doc/rtorrent.1 "${pkgdir}"/usr/share/man/man1/rtorrent.1 \ + || return 1 + install -D doc/rtorrent.rc \ + "${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc || return 1 } md5sums="629247636cb1210663b52dadbd040a6c rtorrent-0.8.9.tar.gz" |