summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2014-03-31 12:49:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-07 14:43:39 +0700
commit86407436f49ad3e5f039074b851894e4b8807800 (patch)
treede4b82e5e6e154086b706808f214b3416108592a /system
parent320cf339d0514d72e3e9e6dd2ba063249262e758 (diff)
downloadslackbuilds-86407436f49ad3e5f039074b851894e4b8807800.tar.gz
system/multicorn: Updated for version 1.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/multicorn/multicorn.SlackBuild16
-rw-r--r--system/multicorn/multicorn.info6
2 files changed, 8 insertions, 14 deletions
diff --git a/system/multicorn/multicorn.SlackBuild b/system/multicorn/multicorn.SlackBuild
index e58a2e7f97..3331c37df5 100644
--- a/system/multicorn/multicorn.SlackBuild
+++ b/system/multicorn/multicorn.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for multicorn
-# Copyright 2013 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2013-2014 Audrius Kažukauskas <audrius@neutrino.lt>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=multicorn
-VERSION=${VERSION:-1.0.0_beta1}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=$(echo $VERSION | tr _ -)
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -62,8 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$SRCVERSION.zip
-mv $PRGNAM-$SRCVERSION $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,11 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Set Python code installation path and fix Makefile.
-sed -i \
- -e "s|install$|install --root=$PKG|" \
- -e 's|^DATA =.*$|DATA = $(wildcard sql/*--*.sql)|' \
- Makefile
+# Set Python code installation path.
+sed -i "s|install$|install --root=$PKG|" Makefile
CFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
diff --git a/system/multicorn/multicorn.info b/system/multicorn/multicorn.info
index 88ba93314b..7d3264310f 100644
--- a/system/multicorn/multicorn.info
+++ b/system/multicorn/multicorn.info
@@ -1,8 +1,8 @@
PRGNAM="multicorn"
-VERSION="1.0.0_beta1"
+VERSION="1.0.1"
HOMEPAGE="http://multicorn.org/"
-DOWNLOAD="http://api.pgxn.org/dist/multicorn/1.0.0-beta1/multicorn-1.0.0-beta1.zip"
-MD5SUM="ad67a86295ec7bb5a91c63f9062802a3"
+DOWNLOAD="http://api.pgxn.org/dist/multicorn/1.0.1/multicorn-1.0.1.zip"
+MD5SUM="c1b137774e0ecf473aa9628a2b4eb0e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools postgresql"