From 4d280e4dd709c6870599da53a68c7a9f05435370 Mon Sep 17 00:00:00 2001 From: Ross Clark <6961242+rossclarkartist@users.noreply.github.com> Date: Tue, 29 Mar 2022 12:18:22 +0100 Subject: [PATCH] :tada: INIT: Initialize repository On branch main - Changes to be committed: - new file: .SRCINFO - new file: PKGBUILD --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..4d162bf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = perl-ogg-vorbis-header-pureperl + pkgdesc = Perl/CPAN module Ogg::Vorbis::Header::PurePerl - An object-oriented interface to Ogg Vorbis info and comments + pkgver = 1.0 + pkgrel = 1 + url = http://search.cpan.org/~daniel/Ogg-Vorbis-Header-PurePerl-1.0/PurePerl.pm + arch = any + license = GPL + options = !emptydirs + options = purge + source = http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Ogg-Vorbis-Header-PurePerl-1.0.tar.gz + md5sums = 1b09cefefd4a83bd4a53d2fddbd0bc68 + +pkgname = perl-ogg-vorbis-header-pureperl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e4bbc28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +#!/bin/bash + +# Disable various shellcheck rules that produce false positives in this file. +# Repository rules should be added to the .shellcheckrc file located in the +# repository root directory, see https://github.com/koalaman/shellcheck/wiki +# and https://archiv8.github.io for further information. +# shellcheck disable=SC2034,SC2154 +# ToDo: Add files: User documentation +# ToDo: Add files: Tooling +# FixMe: Namcap warnings and errors + +# Maintainer: Ross Clark +# Contributor: Ross Clark + +pkgname=perl-ogg-vorbis-header-pureperl +pkgver=1.0 +pkgrel=1 +pkgdesc="Perl/CPAN module Ogg::Vorbis::Header::PurePerl - An object-oriented interface to Ogg Vorbis info and comments" +arch=(any) +license=(GPL) +url="http://search.cpan.org/~daniel/Ogg-Vorbis-Header-PurePerl-$pkgver/PurePerl.pm" +options=(!emptydirs purge) +source=(http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Ogg-Vorbis-Header-PurePerl-$pkgver.tar.gz) +md5sums=('1b09cefefd4a83bd4a53d2fddbd0bc68') + +package() { + cd "${srcdir}/Ogg-Vorbis-Header-PurePerl-${pkgver}" + + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR=${pkgdir} || return 1 + +}