diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -11,8 +11,9 @@ makedepends=('git') groups=('perl6') url="https://github.com/atweiden/digest-xxhash" license=('UNLICENSE') -source=($pkgname-$pkgver::git+https://github.com/atweiden/digest-xxhash) -sha256sums=('SKIP') +source=($pkgname-$pkgver::git+https://github.com/atweiden/digest-xxhash + git+https://github.com/atweiden/digest-xxhash.wiki) +sha256sums=('SKIP' 'SKIP') check() { cd "$srcdir/$pkgname-$pkgver" @@ -27,6 +28,10 @@ package() { msg2 'Installing documentation...' install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" + msg2 'Installing wiki...' + cp -dpr --no-preserve=ownership "$srcdir/digest-xxhash.wiki" \ + "$pkgdir/usr/share/doc/perl6-digest-xxhash/wiki" + msg2 'Installing...' export RAKUDO_LOG_PRECOMP=1 export RAKUDO_RERESOLVE_DEPENDENCIES=0 @@ -34,4 +39,7 @@ package() { --to="$pkgdir/usr/share/perl6/vendor" \ --for=vendor \ --from=. + + msg2 'Cleaning up pkgdir...' + find "$pkgdir" -type d -name .git -exec rm -r '{}' + } |