summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkkl24012015-06-27 19:45:25 +0200
committerkkl24012015-06-27 19:45:25 +0200
commit167fa06c39703a1a4d777a2aa6c74eddb4c78764 (patch)
treedb1ddf6b678c7e9eaceec646eef6a0664c091ce6 /PKGBUILD
downloadaur-perl-tk-codetext.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2a7b3191a3f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Ondrej Kucera <ondrej.kucera@centrum.cz>
+_perlmod=Tk-CodeText
+pkgname=perl-tk-codetext
+pkgver=0.3.4
+pkgrel=4
+pkgdesc="Tk-CodeText perl module (a TextUndo widget with syntax highlighting capabilities)"
+arch=("any")
+url="http://search.cpan.org/~hanje/Tk-CodeText/"
+license=('GPL' 'PerlArtistic')
+groups=()
+depends=('perl>=5.10.0' 'perl-tk' 'perl-syntax-highlight-perl')
+makedepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=(http://search.cpan.org/CPAN/authors/id/H/HA/HANJE/$_perlmod-$pkgver.tar.gz)
+md5sums=('321bda6595d122f22f4392dfce24d378')
+
+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/"
+}