summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Riha2020-11-10 10:02:55 +0100
committerJose Riha2020-11-10 10:02:55 +0100
commit7480770e32e25a659d3b2f9182ac9e39774b0b02 (patch)
tree6ce3d9252fe6d8867446364cffcbb9a513cbf4ea
parent3126e93f0335d7ba231594b0ad9bb656cc5fc7f6 (diff)
downloadaur-perl-math-vec.tar.gz
Fix multiple issues in PKGBUILD (thanks @Dylan14)
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2fdb010e22d5..540ec6117f79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by mksrcinfo v8
-# Sun Aug 21 06:08:28 UTC 2016
pkgbase = perl-math-vec
pkgdesc = Object-Oriented Vector Math Methods in Perl
pkgver = 1.01
- pkgrel = 1
+ pkgrel = 2
url = http://search.cpan.org/~ewilhelm/Math-Vec
arch = i686
arch = x86_64
license = perl
+ makedepends = perl-module-build
depends = perl
provides = math-vec=1.01
- provides = Math::Vec=1.01
provides = perl-math-vec=1.01
options = !emptydirs
source = http://search.cpan.org/CPAN/authors/id/E/EW/EWILHELM/Math-Vec-1.01.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index a972d6c8bbff..141bfb5f12b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor Mathieu Clabaut <mathieu.clabaut@gmail.com>
+# Contributor: Dylan14 <dylan1496 at live dot com>
# PKGBUILD generated by pacpan
pkgname=perl-math-vec
_realname=Math-Vec
pkgver=1.01
-pkgrel=1
+pkgrel=2
pkgdesc="Object-Oriented Vector Math Methods in Perl"
arch=(i686 x86_64)
license=('perl')
@@ -12,8 +13,9 @@ url="http://search.cpan.org/~ewilhelm/Math-Vec"
options=(!emptydirs)
depends=('perl')
+makedepends=('perl-module-build')
-provides=('math-vec=1.01' 'Math::Vec=1.01' 'perl-math-vec=1.01')
+provides=('math-vec=1.01' 'perl-math-vec=1.01')
source=(http://search.cpan.org/CPAN/authors/id/E/EW/EWILHELM/Math-Vec-1.01.tar.gz)
md5sums=('3d881e6f8074257d54125190719859eb')
@@ -33,9 +35,9 @@ build() {
if [ -d "$_expected_dir" ]; then
cd "$_expected_dir"
else
- echo "ERROR unable to detect source directory"
- echo "--> this is often due to CPAN's lack of standard naming conventions"
- echo "--> it may be possible to fix this by adjusting the build function in the PKGBUILD"
+ echo "?[1;31mERROR?[0m unable to detect source directory"
+ echo "?[1;34m-->?[0m this is often due to CPAN's lack of standard naming conventions"
+ echo "?[1;34m-->?[0m it may be possible to fix this by adjusting the build function in the PKGBUILD"
fi
fi
fi