- install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
- install -Dm644 NEWS "$pkgdir/usr/share/doc/$pkgname/NEWS"
+ for file in NEWS README*; do
+ install -Dm644 $file "$pkgdir/usr/share/doc/$pkgname/$file"
+ done
+ for file in COPYING*; do
+ install -Dm644 $file "$pkgdir/usr/share/licenses/$pkgname/$file"
+ done