diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-10-07 23:23:17 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-11 00:14:49 +0700 |
commit | 0dd446372360b0693b69b5286f36d15724f46bda (patch) | |
tree | 753cc66b7a2f4521f9e6ea9c33d4c90b0d91531a /system | |
parent | 5ae323cd24bae588027b2eb45e60ef08f474f504 (diff) | |
download | slackbuilds-0dd446372360b0693b69b5286f36d15724f46bda.tar.gz |
system/slpkg: Updated for version 1.9.8.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/slpkg/slpkg.SlackBuild | 15 | ||||
-rw-r--r-- | system/slpkg/slpkg.info | 6 |
2 files changed, 15 insertions, 6 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild index e2303bbd74..949f0a2a44 100644 --- a/system/slpkg/slpkg.SlackBuild +++ b/system/slpkg/slpkg.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slpkg -VERSION=${VERSION:-1.9.4} +VERSION=${VERSION:-1.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,18 +69,27 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# avoid install man page and blacklist over setup.py +sed -i 's/if "install"/if ""/' setup.py + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# check if blacklist file if already exist in /etc/slpkg +if [ ! -f "/etc/$PRGNAM/blacklist" ]; then + mkdir -p $PKG/etc/$PRGNAM + install -D -m0644 conf/blacklist $PKG/etc/$PRGNAM/blacklist +fi + +# install man page mkdir -p $PKG/usr/man/man8 gzip -9 man/$PRGNAM.8 install -D -m0644 man/$PRGNAM.8.gz $PKG/usr/man/man8/$PRGNAM.8.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst CHANGELOG LICENSE CONTRIBUTING ISSUES blacklist \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst CHANGELOG LICENSE CONTRIBUTING ISSUES $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info index 4afe80c3f0..47664faac1 100644 --- a/system/slpkg/slpkg.info +++ b/system/slpkg/slpkg.info @@ -1,8 +1,8 @@ PRGNAM="slpkg" -VERSION="1.9.4" +VERSION="1.9.8" HOMEPAGE="https://github.com/dslackw/slpkg" -DOWNLOAD="https://github.com/dslackw/slpkg/archive/v1.9.4.tar.gz" -MD5SUM="ab6aca22b0ee35b5f005ad3c7a30070e" +DOWNLOAD="https://github.com/dslackw/slpkg/archive/v1.9.8.tar.gz" +MD5SUM="4d24f4e5dde2ff8f7bbc541f36b29f83" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |