[arch-commits] Commit in perl-dbd-odbc/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:24:30 UTC 2021
Date: Monday, May 24, 2021 @ 11:24:30
Author: foutrelis
Revision: 944400
archrelease: copy trunk to community-staging-x86_64
Added:
perl-dbd-odbc/repos/community-staging-x86_64/
perl-dbd-odbc/repos/community-staging-x86_64/PKGBUILD
(from rev 944399, perl-dbd-odbc/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-dbd-odbc/repos/community-staging-x86_64/PKGBUILD (from rev 944399, perl-dbd-odbc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-24 11:24:30 UTC (rev 944400)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-dbd-odbc
+pkgver=1.60
+pkgrel=5
+pkgdesc="ODBC Driver for DBI"
+arch=('x86_64')
+url="https://search.cpan.org/dist/DBD-ODBC/"
+license=('GPL' 'PerlArtistic')
+depends=('perl-dbi' 'perl' 'unixodbc')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-${pkgver}.tar.gz")
+sha256sums=('bd0ed6134349fbf7562b0873e85799c56a08c643f11f286ff2126595cf4ced4b')
+
+build() {
+ cd DBD-ODBC-${pkgver}
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd DBD-ODBC-${pkgver}
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list