diff options
author | Alex Dewar | 2018-04-21 09:39:34 +0100 |
---|---|---|
committer | Alex Dewar | 2018-04-21 09:39:34 +0100 |
commit | 7af219dec26ebfc1cadae440f56e0bd3b709809e (patch) | |
tree | 486b38c0ab5cf60bcc65428948b68c0b39a60dea | |
download | aur-7af219dec26ebfc1cadae440f56e0bd3b709809e.tar.gz |
initial commit: version 2012a
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..de1869caeead --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = circstat + pkgdesc = The circular statistics toolbox for Matlab/Octave + pkgver = 2012a + pkgrel = 1 + url = http://bethgelab.org/software/circstat + arch = any + license = custom + source = circstat-2012a.zip::https://uk.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/10676/versions/22/download/zip + sha256sums = 9c47637b92876bfa7a7c4ddf4adf5e5e266229c69ae83afd8bc8ec9c9699cdbb + +pkgname = circstat + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b73905529f23 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..189aac0af5bd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Alex Dewar <a.dewar@sussex.ac.uk> +pkgname=circstat +pkgver=2012a +pkgrel=1 +pkgdesc="The circular statistics toolbox for Matlab/Octave" +arch=("any") +url="http://bethgelab.org/software/circstat" +license=('custom') +source=("$pkgname-$pkgver.zip::https://uk.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/10676/versions/22/download/zip") +sha256sums=('9c47637b92876bfa7a7c4ddf4adf5e5e266229c69ae83afd8bc8ec9c9699cdbb') + +package() { + install -d "$pkgdir"/opt/$pkgname + rm "$srcdir"/*.zip + cp -r "$srcdir"/* "$pkgdir"/opt/$pkgname + + install -d "$pkgdir"/usr/share/doc/$pkgname + ln -s /opt/$pkgname/readme.txt "$pkgdir"/usr/share/doc/$pkgname + + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s /opt/$pkgname/license.txt "$pkgdir"/usr/share/licenses/$pkgname +} |