diff options
author | Andy Weidenbaum | 2015-11-17 00:09:50 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2015-11-17 00:09:50 -0800 |
commit | b1475e0d87a12f8d006b0f5a30674dc83d572307 (patch) | |
tree | 4a7c5b6d2340033e04b741027b0e3d0d954a0815 | |
download | aur-b1475e0d87a12f8d006b0f5a30674dc83d572307.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..32daea4078ce --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl6-digest-xxhash + pkgdesc = Perl 6 bindings for xxHash + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/atweiden/digest-xxhash + arch = any + license = UNLICENSE + checkdepends = perl + makedepends = git + depends = libxxhash + depends = rakudo + source = perl6-digest-xxhash-0.0.1::git+https://github.com/atweiden/digest-xxhash + sha256sums = SKIP + +pkgname = perl6-digest-xxhash + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3272154d3d71 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=perl6-digest-xxhash +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Perl 6 bindings for xxHash" +arch=('any') +depends=('libxxhash' 'rakudo') +checkdepends=('perl') +makedepends=('git') +url="https://github.com/atweiden/digest-xxhash" +license=('UNLICENSE') +source=($pkgname-$pkgver::git+https://github.com/atweiden/digest-xxhash) +sha256sums=('SKIP') + +check() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Running tests...' + prove -r -e perl6 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Installing...' + mkdir -p "$pkgdir/usr/share/perl6/vendor/lib" + find lib -mindepth 1 -maxdepth 1 -exec \ + cp -dpr --no-preserve=ownership '{}' "$pkgdir/usr/share/perl6/vendor/lib" \; +} |