summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Grabowski2015-07-18 19:42:55 +0200
committerJuri Grabowski2015-07-18 19:42:55 +0200
commit03c8070cf4f4ff3f745c372865a08240ac46f287 (patch)
tree5f4d9ef3495dadbd4b8563972e430981dc592457
downloadaur-perl-file-monitor.tar.gz
1.00
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fe565589c21
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = perl-file-monitor
+ pkgdesc = Portable implementation of file-mon
+ pkgver = 1.00
+ pkgrel = 0
+ url = http://search.cpan.org/~andya/File-Monitor-1.00/lib/File/Monitor.pm
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/File-Monitor-1.00.tar.gz
+ md5sums = 29ca8fcacbd96017d1024611fae08974
+
+pkgname = perl-file-monitor
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d148fb47e27
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 238525 2015-05-05 23:30:47Z heftig $
+# Maintainer: 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/File-Monitor-1.00.tar.gz")
+md5sums=('29ca8fcacbd96017d1024611fae08974')
+
+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"
+}