diff options
Diffstat (limited to 'app/office/broffice')
-rw-r--r-- | app/office/broffice/Manifest | 23 | ||||
-rwxr-xr-x | app/office/broffice/broffice.SlackBuild | 12 |
2 files changed, 31 insertions, 4 deletions
diff --git a/app/office/broffice/Manifest b/app/office/broffice/Manifest new file mode 100644 index 00000000..5a95c990 --- /dev/null +++ b/app/office/broffice/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST BrOo_3.0.1_LinuxIntel_install_pt-BR.tar.gz 149194596 MD5 68883c544b9686a3cc34876004c65bac RMD160 7a2f71487a4d6fafb9b021249640bc8877df906d SHA1 1ec774eeac8542ba2d66a2c3759faffdfef7bd65 SHA256 ba4e96f4bfa3b7a9b252965c082b97cbefe29c4a955b42661dffb128ae7f5887 SHA512 c896639e20f8792b3df68138d2efafc56cee08367a0f85d6d83838ef8405aae49c4b85c1bc5880963bb09c771abb41056a92da24761843321a774dba1c965c23 +MKBUILD broffice.mkbuild 5381 MD5 a8deaed90d372176b8c8ac25b232cebf RMD160 e76688dc457082558841e654cdb1695ee7473021 SHA1 e7462b2b7457e7c68b9e5c1f47f85a227c501069 SHA256 cbec92704f448a7c603bffcb4906421cc15f745c6ef8223e75c08f505561db8d SHA512 4a8cc640ee5257c5e9311f35158ffbe6718b1f1e0c837286a00e1e560ff90e0cbc7c005e2184d0209883709760473bf7f25d07027e0ee0c29e872b8fc1d0a16b +SLACKBUILD broffice.SlackBuild 5058 MD5 bf184861c03d39ac2c33f74bb32bf5d7 RMD160 819f059bb9a8acd46519df6074e303f487806892 SHA1 027b5088f2ed17bb592066bf94d394a8a62038b2 SHA256 ef2d9ded3807cbca7dd4e6fdc878324b05cd25a16375f0c523662a437e611dea SHA512 787e395ef095385e3b8e064fabaedcb135585e76d1d4398bd2f7b9a52ec907b800b3028cdb8b40b78b6e737676ba96f1ab1565b6f5e89c42a23e4d08c84b3109 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBAgAGBQJJ82moAAoJEEHL93ESzgeiJC8QAImaZ4MH/UjGR8fRMnuf+i5d +oZbZgY2oOFuJEBJWvu8iganJF+H99D7K+dpEiqgkznXQ0AcYJwi6jB5fun3ocTIq +ONyEngQNsc7SIxOOHDhNRHyeohTqDYGI7TPn6/VErAck4UI0zLU9yLG1Meybtohj +X+gX6iWyqUmZB6Q64czwHdp3/Ri8KZ0JuTgO1/E/d5NxAXlkwgMsNmb4zrvRfulI +p6O8Ts+9bW6/NOASTAXqjrOvlcgY8sNEjTYpbeTlVtFK4xePe7PknbY5HByEAmW7 +R0GMEP4sYreYlBpgB+XoTgLE5na7Va/R9/Q0ntcMs/YZBceJ9sTOFjOw3DkjTXsR +BV//VpYVP4O1fLxEiN995HPOQUa9pCqWXw6ev3ATOQqn+1bvMxNOVP2Kg2VeIg9U +VBQoalanQrRGoU0J10fS7GPGHtm2VVtzSoBFKHRuaTC6tYBN136Pm9GgnGuujzl+ +l4foXaQEUr4iEwRCtfsg+w63Iuv5SaMu0kQw370XDyYPiqMhcKuN6sTCNoX0NzGq +dPcRKm2F52P7kBX88cYUxRwDTAi5DVGCqFfqMp7Gdibiv+avC0MxDOHLNl0zdmEh +WU4ndIOij/BNl+Qp5HF7D/IP00gncIbD18QrSAGxwtPnDOGfuaS2Zey7RC/y1G9J +amWKsufXYR4OnBspI+Pa +=sEEy +-----END PGP SIGNATURE----- diff --git a/app/office/broffice/broffice.SlackBuild b/app/office/broffice/broffice.SlackBuild index 01ba0b36..0fe04d6f 100755 --- a/app/office/broffice/broffice.SlackBuild +++ b/app/office/broffice/broffice.SlackBuild @@ -16,7 +16,8 @@ # # slackbuild for broffice, by Rudson R. Alves # requires: -# tested: broffice-2.4.1 +# tested: broffice-3.0.1 +# model: generic.mkSlackBuild $Rev: 805 $ # # Look for slackbuildrc @@ -31,13 +32,14 @@ CWD="$(pwd)" SRC_NAME="BrOo" PKG_NAME="broffice" ARCH=${ARCH:=i686} -SRC_VERSION=${VERSION:=2.4.1} +SRC_VERSION=${VERSION:=3.0.1} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" BUILD=${BUILD:=1rra} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME TMP=${TMP:=/tmp} PKG=${PKG:=$TMP/package-$PKG_NAME} REPOS=${REPOS:=$TMP} +SLACKBUILD_PATH=${SLACKBUILD_PATH:="app/office/broffice"} PREFIX=${PREFIX:=/usr/share/broffice.org2.4} PKG_WORK="$TMP/$SRC_NAME" CONF_OPTIONS=${CONF_OPTIONS:=""} @@ -48,6 +50,7 @@ ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36 ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 +ERROR_MANIFEST=43; # Clean up any leftovers of previous builds rm -rf "$PKG_WORK" 2> /dev/null @@ -138,9 +141,10 @@ EODESC # Build the package cd "$PKG" -makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG +mkdir -p $REPOS/$SLACKBUILD_PATH +makepkg -l y -c n "$REPOS/$SLACKBUILD_PATH/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG # Delete source and build directories if requested -if [ "$CLEANUP" == "yes" ]; then +if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then rm -rf "$PKG_WORK" "$PKG" fi |