diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 03:07:32 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 03:07:32 +0000 |
commit | 7acffc1bd7724bc0e22baa5d6ed0af1c1a4b1dc8 (patch) | |
tree | c0fe03a5616c43ec8a9e38df0307b5dc30a863f2 /user | |
parent | 57e3e017f34f4d9b7d8813e15da86f3e2796c803 (diff) | |
download | packages-7acffc1bd7724bc0e22baa5d6ed0af1c1a4b1dc8.tar.gz packages-7acffc1bd7724bc0e22baa5d6ed0af1c1a4b1dc8.tar.bz2 packages-7acffc1bd7724bc0e22baa5d6ed0af1c1a4b1dc8.tar.xz packages-7acffc1bd7724bc0e22baa5d6ed0af1c1a4b1dc8.zip |
user/perl-dbd-pg: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-dbd-pg/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-dbd-pg/APKBUILD b/user/perl-dbd-pg/APKBUILD new file mode 100644 index 000000000..bf7d3b2a2 --- /dev/null +++ b/user/perl-dbd-pg/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-dbd-pg +_pkgname=DBD-Pg +pkgver=3.7.4 +pkgrel=0 +pkgdesc="PostgreSQL interface for Perl DBI" +url="https://metacpan.org/release/DBD-Pg" +arch="all" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-dbi" +makedepends="perl-dev postgresql-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-$pkgver.tar.gz" +builddir="$srcdir/DBD-Pg-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="77c629ce89233345f7893b0cc2799a5efc646e86b62ee91986678f196380ac772ece7b9f6c98dae588fbf8f29def1f997335fa85874562ab648af8665cd9add8 DBD-Pg-3.7.4.tar.gz" |