blob: 4978b5bf61e0d9b417ee525ec323435549b37cda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#
# Contributor (Arch): Philipp Brüschweiler <blei42 gmail com>
# Contributor (Arch): Ng Oon-Ee <ngoonee.talk@gmail.com>
# Maintainer (Arch): Clemens Buchacher <drizzd@aon.at>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
#
# 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.2
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")
md5sums=('c02a05ba37ffb38ad2b59906a56c7807')
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"
}
|