apache-directory-studio-bin: update to 2.0.0.v20180908; rename to -bin

This commit is contained in:
Frank Steinborn 2019-09-01 17:46:39 +02:00 committed by Johannes
parent c80122b2a9
commit 4ba6d9f884
4 changed files with 15 additions and 7 deletions

View File

@ -0,0 +1 @@
apache-directory-studio-bin

View File

@ -1,25 +1,26 @@
# Template file for 'apache-directory-studio'
pkgname=apache-directory-studio
pkgname=apache-directory-studio-bin
_pkgname=ApacheDirectoryStudio
version=2.0.0.v20170904
version=2.0.0.v20180908
revision=1
_versionprefix=M14
depends="virtual?java-runtime gtk+ desktop-file-utils"
short_desc="LDAP browser and directory client"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="Apache-2.0"
homepage="http://directory.apache.org/studio/"
archs="i686 x86_64"
homepage="http://directory.apache.org/studio/"
nopie=yes
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_arch="x86_64"
checksum=581d55f3496827710301dec613466d829cf9a3ed3d4308460e63ca08aaa9d6c9
checksum=faae04c6d37bfd1e1ac6cd997399d5d314de7ba9b7279fd7b9c9e052cea0044f
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
_arch="x86"
checksum=96281c2af3b1ea04e423b41b465a93b21607ce41b3dc3771861e0b52557eb5af
checksum=38c0ca414961852e6b1d3960124fb12f45ccfcd03779537291afe02725f20d0d
fi
distfiles="http://apache.mindstudios.com/directory/studio/${version}-M13/${_pkgname}-${version}-M13-linux.gtk.${_arch}.tar.gz"
distfiles="https://www-eu.apache.org/dist/directory/studio/${version}-${_versionprefix}/${_pkgname}-${version}-${_versionprefix}-linux.gtk.${_arch}.tar.gz"
wrksrc="${_pkgname}"
do_install() {
@ -31,3 +32,9 @@ do_install() {
ln -sf /opt/${_pkgname}/${_pkgname} ${DESTDIR}/usr/bin/${_pkgname}
ln -sf /opt/${_pkgname}/${_pkgname} ${DESTDIR}/usr/bin/${pkgname//-/}
}
apache-directory-studio_package() {
depends="${sourcepkg}>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package)"
}