diff options
author | schaap137 | 2017-03-03 21:16:00 +0100 |
---|---|---|
committer | schaap137 | 2017-03-03 21:16:00 +0100 |
commit | 4151d8846b2504516c058955539f0c853bc94e62 (patch) | |
tree | 4fa3c7a2b9f554ffd992b02a2ec5f79ba59b769c /PKGBUILD | |
parent | 4c87f69f96c4df2ae1a6c2b0b77e3fd0da31dab1 (diff) | |
download | aur-4151d8846b2504516c058955539f0c853bc94e62.tar.gz |
further optimization of package() - thanks eschwartz
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,13 +1,13 @@ # Maintainer: schaap137 <dojo86@gmail.com> pkgname=chugins-git pkgver=1.3.5.2.r86.g9ed524f -pkgrel=6 +pkgrel=7 pkgdesc="Repository for ChuGins (to use with chuck)" arch=('i686' 'x86_64') url="https://github.com/ccrma/chugins" license=('GPL') depends=('chuck') -makedepends=('cpio' 'git') +makedepends=('git') source=("$pkgname"::"git://github.com/ccrma/chugins.git") sha256sums=('SKIP') @@ -34,5 +34,5 @@ package() { mkdir -p "$pkgdir"/usr/lib/chuck install -Dm755 **/*.chug "$pkgdir"/usr/lib/chuck/ mkdir -p "$pkgdir"/usr/share/doc/chuck/examples/chugins - find . -type f -regex '.*\.\(md\|wav\|ck\)' | cpio -p -d -v -u "$pkgdir"/usr/share/doc/chuck/examples/chugins/ + while read -r file; do install -Dm644 "$file" "$pkgdir/usr/share/doc/chuck/examples/chugins/$file"; done < <(find . -type f -regex '.*\.\(md\|wav\|ck\)') } |