summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorschaap1372017-03-03 13:17:47 +0100
committerschaap1372017-03-03 13:17:47 +0100
commit8d5628adf39fd8c5648bc82c5528986f4f390721 (patch)
treed8430a2d64953d78542c1bc398df0b24e3f511b1
parentdddb1ffcb8aa6727fc6c12bf94755fc96d030320 (diff)
downloadaur-8d5628adf39fd8c5648bc82c5528986f4f390721.tar.gz
copy help/example files retaining their dir structure, only (md|wav|ck) file extensions
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b91995b6e0..f55cfbab825 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = chugins-git
pkgdesc = Repository for ChuGins (to use with chuck)
pkgver = 1.3.5.2.r86.g9ed524f
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/ccrma/chugins
arch = i686
arch = x86_64
license = GPL
makedepends = git
+ makedepends = cpio
depends = chuck
source = chugins-git::git://github.com/ccrma/chugins.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index ce76cc299c7..76abd7ceca9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: schaap137 <dojo86@gmail.com>
pkgname=chugins-git
pkgver=1.3.5.2.r86.g9ed524f
-pkgrel=3
+pkgrel=4
pkgdesc="Repository for ChuGins (to use with chuck)"
arch=('i686' 'x86_64')
url="https://github.com/ccrma/chugins"
license=('GPL')
depends=('chuck')
-makedepends=('git')
+makedepends=('git' 'cpio')
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
- install -Dm644 **/*.ck "$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/
}