# $Id$ # Maintainer: Mohammadreza Abdollahzadeh pkgname=rfc-pdf pkgver=20180109 pkgrel=1 pkgdesc="RFCs from rfc-editor.org in pdf format." arch=('any') url="http://www.rfc-editor.org/" license=("custom") options=('docs') source=('https://www.rfc-editor.org/rfc/tar/pdfrfc0001-0500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc0501-1000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc1001-1500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc1501-2000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc2001-2500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc2501-3000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc3001-3500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc3501-4000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc4001-4500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc4501-5000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc5001-5500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc5501-6000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc6001-6500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc6501-7000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc7001-7500.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc7501-8000.tar.gz' 'https://www.rfc-editor.org/rfc/tar/pdfrfc8001-latest.tar.gz' 'license') sha256sums=('7af062089d47557fa45fbea91f43f52bb8032c3430598f6409b4f4119ffbafc0' 'd0f2a0f9867cf2bdcff6500985fc30cf47b7374bce8d1e0db9efc8939125d2a4' 'c223be0d3abf0a07ffe98381332c664959d8c4e0a449fddcfa169edfbfb954d3' '70c0883a923ec4196d504919642c37a96c5fbfa6b3e10c335de901511a1a2f8f' 'cdc8aac9a8c3e74a35c4c5a1862401405cd521b947556f5ef8a6327ab593d72a' '2da32a039013b4279dba9118f89b7b4e2ee24674b2f3ff5da45e7604a9591627' 'e5dc235b27d3c01ae87430e5a361110e0c4adb55dd3d067c8fb16032764e2532' 'c3ecde31fc3618a5d44a67d26c745ac133e32a6684108237a4222ba9204e5010' '4e5aea7f0d9fcf69546d6e59b3503c90d7706c3ed13760bb50f2674a07263054' '28173598141744470e4d9c6e9abc808c26b12471fcf24bab128a278a02b103ce' '53bc6c0ea704ce43b2968be15710977f66618953c1b1e8d329a5a19af7c3c544' 'ea5aa388d500375463ecc3ba58047e7b186c019e7fd0fe3c2fc6fd8a07156687' '2a6ee2e4c4aa65e224e351bfb1c3341ba42db4e87ffc7c1de56e29a59082897a' 'b6ea0bcb1b29f6d4a3e977c3e235adb2b1c7c7a3896141c691c36a30f99739d6' '3fc563d6121483eca3ecf775825c552d21676be23ed87dedbdbf8c5c0d11afdd' '0afa086ee30d570c28fc567bca01a4b089c629aa353249dc82cea4a62d0fe024' 'fed1af7db97f5d0920c2a5a828a9d4ffb5b38ad11eca6d1f480ed4faffd4c3e2' 'ac9cd91c2e15b0840b6ecd4f7d30d6d12c49e18b4f9eb383a0ce05a64901624e') package() { mkdir -p "$pkgdir/usr/share/doc/rfc/pdf" cp ${srcdir}/pdfrfc/*.pdf ${pkgdir}/usr/share/doc/rfc/pdf/ cd "${pkgdir}/usr/share/doc/rfc" find . -type f -exec chmod 444 {} \; find . -type d -exec chmod 555 {} \; chown -R root:root . install -D -m0644 $srcdir/license $pkgdir/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: