mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:37:14 +08:00
Update
This commit is contained in:
parent
edcd189b8f
commit
7ac9965691
@ -1,29 +1,33 @@
|
||||
# $Id: PKGBUILD 46679 2009-07-19 15:46:22Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Sarah Hay <sarah@archlinux.org>
|
||||
# Platform packages for Chakra
|
||||
|
||||
pkgname=gtk2-perl
|
||||
_realname=Gtk2
|
||||
pkgver=1.223
|
||||
pkgver=1.241
|
||||
pkgrel=1
|
||||
pkgdesc="Gtk2-Perl allows Perl developers to write GTK+ 2.x applications."
|
||||
pkgdesc="Perl bindings for GTK+ 2.x"
|
||||
arch=(i686 x86_64)
|
||||
license=('LGPL')
|
||||
url="http://gtk2-perl.sourceforge.net/"
|
||||
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
|
||||
depends=('gtk2>=2.16.5' 'pango-perl>=1.220')
|
||||
depends=('gtk2' 'pango-perl')
|
||||
checkdepends=('ttf-dejavu' 'xorg-server-xvfb')
|
||||
options=('!emptydirs')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
|
||||
md5sums=('57459f0f39c20699a5062ea833a67817')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-${pkgver}.tar.gz)
|
||||
md5sums=('82ee2af46ef9ab7b560601e3ae6f8f7a')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
# install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||||
make || return 1
|
||||
make install DESTDIR="${pkgdir}" || return 1
|
||||
|
||||
# remove perllocal.pod and .packlist
|
||||
find "${pkgdir}" -name perllocal.pod -delete
|
||||
find "${pkgdir}" -name .packlist -delete
|
||||
cd "${srcdir}/Gtk2-${pkgver}"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/Gtk2-${pkgver}"
|
||||
LD_PRELOAD="" Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 &
|
||||
LD_PRELOAD="" DISPLAY=:99 make test
|
||||
kill $!
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/Gtk2-${pkgver}"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
}
|
||||
|
@ -1,31 +1,30 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=pango-perl
|
||||
_realname=Pango
|
||||
pkgver=1.221
|
||||
pkgrel=2
|
||||
pkgver=1.223
|
||||
pkgrel=1
|
||||
pkgdesc="Perl bindings for Pango"
|
||||
arch=(i686 x86_64)
|
||||
license=('LGPL')
|
||||
url="http://gtk2-perl.sourceforge.net/"
|
||||
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
|
||||
depends=('pango>=1.26.0' 'glib-perl>=1.222' 'cairo-perl>=1.061')
|
||||
depends=('pango' 'glib-perl' 'cairo-perl')
|
||||
options=('!emptydirs')
|
||||
source=(http://downloads.sourceforge.net/gtk2-perl/${_realname}-${pkgver}.tar.gz)
|
||||
md5sums=('8d257209aa11bd6c3a2beb235c2f103f')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-${pkgver}.tar.gz)
|
||||
md5sums=('628a6de54f47b6791c6b45edfb835215')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
# install module in vendor directories.
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||||
make || return 1
|
||||
make install DESTDIR="${pkgdir}" || return 1
|
||||
|
||||
# remove perllocal.pod and .packlist
|
||||
find "${pkgdir}" -name perllocal.pod -delete
|
||||
find "${pkgdir}" -name .packlist -delete
|
||||
cd "${srcdir}/Pango-${pkgver}"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/Pango-${pkgver}"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/Pango-${pkgver}"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user