diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2014-10-11 21:32:27 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2014-10-11 21:32:27 -0300 |
commit | 73878e9f6a2b86ebf66cf87ec145dc309c8520c4 (patch) | |
tree | add2354a374b3acde8a673f9250c3ff8d72d86dd /pcr/octave-image/PKGBUILD | |
parent | d2556ce4d528b6a62d31b9f28cd37678f565f956 (diff) | |
parent | 4e75bcf04fa2ee23cbdc320bdf04af821616a6ee (diff) |
Merge branch 'master' of git://projects.parabola.nu/abslibre
Diffstat (limited to 'pcr/octave-image/PKGBUILD')
-rw-r--r-- | pcr/octave-image/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/octave-image/PKGBUILD b/pcr/octave-image/PKGBUILD new file mode 100644 index 000000000..1fd17c752 --- /dev/null +++ b/pcr/octave-image/PKGBUILD @@ -0,0 +1,41 @@ +# +# Contributor : Philipp Brüschweiler <blei42 gmail com> +# Contributor : Ng Oon-Ee <ngoonee.talk@gmail.com> +# Contriburor : Clemens Buchacher <drizzd@aon.at> +# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# +# You can use the newpkg script from +# https://github.com/drizzd/octave-forge-archlinux to automatically generate +# new octave-forge PKGBUILDs or update existing ones. Patches welcome. +# + +_pack=image +pkgname=octave-$_pack +pkgver=2.2.1 +pkgrel=1 +pkgdesc="The Octave-forge Image package provides functions for processing images. The package also provides functions for feature extraction, image statistics, spatial and geometric transformations, morphological operations, linear filtering, and much more." +arch=(any) +url="http://octave.sourceforge.net/$_pack/" +license=('custom') +groups=('octave-forge') +depends=('octave>=3.8.0' 'octave-signal>=1.2.0' 'octave-general>=1.3.0') +makedepends=() +optdepends=() +backup=() +options=() +install=$pkgname.install +_archive=$_pack-$pkgver.tar.gz +source=("http://downloads.sourceforge.net/octave/$_archive") +noextract=("$_archive") + +build() { + cd "$srcdir" + mkdir -p builddir + octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive" +} + +package() { + mkdir -p "$pkgdir/usr/share/octave/packages" + mkdir -p "$pkgdir/usr/lib/octave/packages" + cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz" +} |