summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoan Figueras2017-02-15 11:59:38 +0100
committerJoan Figueras2017-02-15 11:59:38 +0100
commitf13b1d0606699dd86c78a6727e2f3717996b8b9f (patch)
tree599ddf008fee219fd9f1884ffd6a3fa7cb054aff
downloadaur-f13b1d0606699dd86c78a6727e2f3717996b8b9f.tar.gz
Initial commit.
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD34
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9cab6055464
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = perl-gnome2-gconf
+ pkgdesc = Perl interface to the GConf configuration database
+ pkgver = 1.044
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Gnome2-GConf
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = PerlArtistic
+ makedepends = perl-extutils-depends
+ makedepends = perl-extutils-pkgconfig
+ depends = gtk2-perl
+ depends = gconf
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-GConf-1.044.tar.gz
+ md5sums = ea386003b18f067524833b0eeb271330
+
+pkgname = perl-gnome2-gconf
+ depends = gtk2-perl
+ depends = gconf
+ depends = perl>=
+ depends = perl<
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5f854cda315
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Joan Figueras <ffigue at gmail dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
+
+pkgname=perl-gnome2-gconf
+pkgver=1.044
+pkgrel=1
+pkgdesc="Perl interface to the GConf configuration database"
+arch=('i686' 'x86_64')
+license=("GPL" "PerlArtistic")
+url="http://search.cpan.org/dist/Gnome2-GConf"
+depends=('gtk2-perl' 'gconf')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-GConf-${pkgver}.tar.gz")
+md5sums=('ea386003b18f067524833b0eeb271330')
+
+build() {
+ cd Gnome2-GConf-${pkgver}
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd Gnome2-GConf-${pkgver}
+ make install DESTDIR="$pkgdir"
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}