summaryrefslogtreecommitdiff
path: root/community/wml
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
commite2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (patch)
tree506c782411889ae8fe218db16eee680c7ae5e0e2 /community/wml
parent7927a6b6296eecd09c8d2f70e593a378768deabe (diff)
parent5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk2hs-cairo/PKGBUILD community/gtk2hs-glib/PKGBUILD community/gtk2hs-gtk/PKGBUILD community/gtk2hs-pango/PKGBUILD community/haskell-dbus/PKGBUILD community/haskell-hslogger/PKGBUILD community/kvirc/PKGBUILD community/perl-gtk2-trayicon/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD core/glibc/PKGBUILD core/linux-api-headers/PKGBUILD extra/krusader/PKGBUILD extra/libproxy/PKGBUILD extra/libreoffice/PKGBUILD extra/openal/PKGBUILD extra/postgresql/PKGBUILD extra/razor/PKGBUILD extra/subversion/PKGBUILD extra/swt/PKGBUILD extra/valgrind/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD libre/kernel26-libre/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD testing/git/PKGBUILD testing/graphviz/PKGBUILD testing/graphviz/install testing/perl-xml-parser/PKGBUILD
Diffstat (limited to 'community/wml')
-rw-r--r--community/wml/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/wml/PKGBUILD b/community/wml/PKGBUILD
index af9337299..b08069bb4 100644
--- a/community/wml/PKGBUILD
+++ b/community/wml/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 30972 2010-10-24 14:22:26Z ibiru $
+# $Id: PKGBUILD 47762 2011-05-25 13:41:49Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=wml
pkgver=2.0.11
-pkgrel=5
+pkgrel=6
pkgdesc="The Website Meta Language"
arch=('i686' 'x86_64' 'mips64el')
url="http://thewml.org/"
license=('GPL')
-depends=('perl' 'libpng' 'gdbm' 'db>=4.8.24' 'ncurses')
+depends=('perl' 'libpng' 'gdbm' 'db' 'ncurses')
makedepends=('lynx')
source=("http://thewml.org/distrib/${pkgname}-${pkgver}.tar.gz")
md5sums=('a26feebf4e59e9a6940f54c69dde05b5')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
# missing Perl modules fix
sed -i 's/PREFIX=$(libdir)\/perl/DESTDIR=\.\.\/\.\.\/\.\.\/\.\.\/pkg\/ PREFIX=$(libdir)\/perl/' wml_common/Makefile.in
sed -i 's/$(MAKE) pure_perl_install $(MM_INSTALL_OPTS)/$(MAKE) pure_perl_install/' wml_common/Makefile.in
unset LDFLAGS
- ./configure --prefix=/usr
+ ./configure \
+ --prefix=/usr
# compile fixhack
sed -i 's#/usr/lib/perl5/core_perl/auto/DynaLoader/DynaLoader.a##' wml_backend/p3_eperl/Makefile
@@ -28,8 +29,13 @@ build() {
sed -i 's|strip $dsttmp|#strip $dsttmp|' etc/shtool
mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/lib/wml/exec ${pkgdir}/usr/man/man{1,3,7} ${pkgdir}/usr/man/cat{1,7}
-# make clean || return 1
+# make clean
make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
make prefix=${pkgdir}/usr install
[ -d ${pkgdir}/usr/man ] && mkdir -p ${pkgdir}/usr/share && mv ${pkgdir}/usr/man ${pkgdir}/usr/share