blob: f3b976a64d951ad91cc4d0eea067e94c6b171c5e (
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
43
44
|
# Automatically generated by apkbuild-cpan, template 1
# Extensively modified from template to work with this perl module
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-rt-extension-commandbymail
_pkgreal=RT-Extension-CommandByMail
pkgver=0.16
pkgrel=0
pkgdesc="RT4 extension to change metadata of a ticket via email"
url="http://search.cpan.org/dist/RT-Extension-CommandByMail/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-mime-tools perl-universal-require"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="rt4 perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
# Running tests would require RT4 database to be available
make
}
package() {
cd "$_builddir"
make PERL_INSTALL_ROOT="$pkgdir" pure_install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist -o -name Test.pm \) -delete
find "$pkgdir" -type d -delete 2> /dev/null
}
md5sums="5a0187e8a41837c9368dd795a6eb1c01 RT-Extension-CommandByMail-0.16.tar.gz"
sha256sums="87f7652925cc46ff9f2349659f987636463b387ac2efbb3c4352293f96496c04 RT-Extension-CommandByMail-0.16.tar.gz"
sha512sums="73be2de2020d51b8cc84a25d544135f8795432fb3f0c3350b79e111def8b1a561844396930cd3436a0d62b312879f238a60acf6b8732b4f2ee3d9e6b63ef08b9 RT-Extension-CommandByMail-0.16.tar.gz"
|