summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD38
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b20e11ffa7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = perl-pml
+ pkgdesc = PML Markup Lanuage
+ pkgver = 0.4.1
+ pkgrel = 2
+ url = http://search.cpan.org/~pjones/PML/
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/P/PJ/PJONES/PML-0.4.1.tar.gz
+ md5sums = f1ee993f8a08916413e96bdd5d71e0f3
+
+pkgname = perl-pml
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8550b7ab629
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Ondrej Kucera <ondrej.kucera@centrum.cz>
+_perlmod=PML
+pkgname=perl-pml
+pkgver=0.4.1
+pkgrel=2
+pkgdesc="PML Markup Lanuage"
+arch=("any")
+url="http://search.cpan.org/~pjones/$_perlmod/"
+license=("GPL" "PerlArtistic")
+groups=()
+depends=('perl')
+makedepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=(http://search.cpan.org/CPAN/authors/id/P/PJ/PJONES/$_perlmod-$pkgver.tar.gz)
+md5sums=('f1ee993f8a08916413e96bdd5d71e0f3')
+
+build() {
+ cd "$srcdir/$_perlmod-$pkgver"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make install DESTDIR="$pkgdir/"
+}