[arch-commits] Commit in perl-dbd-sybase/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:46:54 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:46:54
  Author: foutrelis
Revision: 470480

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-dbd-sybase/repos/community-staging-x86_64/
  perl-dbd-sybase/repos/community-staging-x86_64/PKGBUILD
    (from rev 470478, perl-dbd-sybase/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: perl-dbd-sybase/repos/community-staging-x86_64/PKGBUILD (from rev 470478, perl-dbd-sybase/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 11:46:54 UTC (rev 470480)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-dbd-sybase
+pkgver=1.16
+pkgrel=3
+pkgdesc="Sybase Driver for DBI"
+arch=('x86_64')
+url="https://search.cpan.org/dist/DBD-Sybase/"
+license=('GPL' 'PerlArtistic')
+depends=('perl-dbi>=1.52' 'perl' 'freetds')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-${pkgver}.tar.gz")
+sha256sums=('67f427e8b7ffae2acc3cc8984463d878abbb2289bc17db79a294e56c8311d6cc')
+
+build() {
+  cd  "$srcdir"/DBD-Sybase-${pkgver}
+  export SYBASE=/usr
+  echo -e "\n\n\n\n\n\n" | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/DBD-Sybase-${pkgver}
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list