Skip to content

Commit

Permalink
🎉 INIT: Initialize repository
Browse files Browse the repository at this point in the history
On branch main
  - Changes to be committed:
    - new file:   .SRCINFO
    - new file:   PKGBUILD
  • Loading branch information
rossclarkartist committed Mar 29, 2022
0 parents commit 4d280e4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -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

34 changes: 34 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -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 <archiv8@artisteducator.com>
# Contributor: Ross Clark <archiv8@artisteducator.com>

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

}

0 comments on commit 4d280e4

Please sign in to comment.