summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-25 10:45:43 +0200
committerErich Eckner <git@eckner.net>2016-04-25 10:45:43 +0200
commit96b29a440170483e069d82291e918c7664fbfa00 (patch)
tree6fc40df863fe2ae459a77fb31dccee05ed4cdd44
parent3c90a9762666c2c8771c26bebcc0790ed3ba8778 (diff)
downloadarchlinuxewe-96b29a440170483e069d82291e918c7664fbfa00.tar.xz
perl-file-monitor neu
-rw-r--r--perl-file-monitor/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/perl-file-monitor/PKGBUILD b/perl-file-monitor/PKGBUILD
new file mode 100644
index 000000000..3f5989324
--- /dev/null
+++ b/perl-file-monitor/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com
+# Contributor: Charles Mauch <cmauch@gmail.com>
+
+pkgname=perl-file-monitor
+_realname=File-Monitor
+pkgver=1.00
+pkgrel=0
+pkgdesc="Portable implementation of file-mon"
+arch=(any)
+url="http://search.cpan.org/~andya/File-Monitor-1.00/lib/File/Monitor.pm"
+license=(GPL PerlArtistic)
+depends=(perl)
+options=('!emptydirs')
+_author=PLICEASE
+source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/${_realname}-${pkgver}.tar.gz")
+sha512sums=('86d38c4664c1ebdbc40c01f1837697cf6a8e7b58c3bb3b5ee731fc2e1340f0150d842990bea8bd8baa19dfa87db7912ba929f494a38ec5f8c546d1883eeb9628')
+
+build() {
+ cd "$srcdir/${_realname}-${pkgver}"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/${_realname}-${pkgver}"
+ make install DESTDIR="$pkgdir"
+}