aboutsummaryrefslogtreecommitdiff
path: root/network/nateon/nateon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nateon/nateon.SlackBuild')
-rw-r--r--network/nateon/nateon.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/nateon/nateon.SlackBuild b/network/nateon/nateon.SlackBuild
index 864c3baa7ef87..a62fd2b3af52f 100644
--- a/network/nateon/nateon.SlackBuild
+++ b/network/nateon/nateon.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for nateon
# Written by crocket (crockabiscuit@gmail.com)
+# Updated by Willy Sudiarto Raharjo
PRGNAM=nateon
VERSION=${VERSION:-1.2.0.326}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,6 +53,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/knateon.patch
+
mkdir -p build
cd build
cmake \
@@ -70,8 +73,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUGS INSTALL LICENSE NEWS README THANKS TODO 네이트닷컴서비스이용약관.txt \
- 소스코드이용및서버접속약관.txt $PKG/usr/doc/$PRGNAM-$VERSION
+ AUTHORS BUGS INSTALL LICENSE NEWS README THANKS TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install