ports/contrib (3.5): [notify] libreoffice: renamed to libreoffice-bin to make way for a source build of libreoffice, this keeps inline with such ports as thundebird-bin and firefox-bin
commit 74f2b7f4770e32098e1c9e9c1099f2fb13a660c7 Author: Danny Rawlins <monster.romster@gmail.com> Date: Wed Aug 7 20:00:08 2019 +1000 [notify] libreoffice: renamed to libreoffice-bin to make way for a source build of libreoffice, this keeps inline with such ports as thundebird-bin and firefox-bin diff --git a/libreoffice/.footprint b/libreoffice-bin/.footprint similarity index 100% rename from libreoffice/.footprint rename to libreoffice-bin/.footprint diff --git a/libreoffice/.signature b/libreoffice-bin/.signature similarity index 58% rename from libreoffice/.signature rename to libreoffice-bin/.signature index 9489cfc7..effcb0c9 100644 --- a/libreoffice/.signature +++ b/libreoffice-bin/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF32JdaLf2yzp2nDv9nm1+aaaPAnc3g266ubTt4YW5o+DZwTqcXnWaFpw9/MtcQqUxfpeiZSkKJam0G2sUAnN0rwk= -SHA256 (Pkgfile) = 2e9d7eb0231f2cf413e3e1030634536b792bca5999fa673632285cb9a892c9fe +RWSagIOpLGJF3yjBE+8P7Bf65hX8aJgaEGo1hd43XY7UpXebuh/eLTXNamVGaTFTE/AnS/YF8jHqcrTbfFPN2xCMTfXICAu7ygE= +SHA256 (Pkgfile) = c3e78071ee6936311f6e3c372f18d7bb31c3763e3dd109d6cf1b8f51b0dc60c5 SHA256 (.footprint) = 990640446003903b234e372c3b89610c4825ec473a7276104634ee69aa7d2308 SHA256 (LibreOffice_6.2.5_Linux_x86-64_rpm.tar.gz) = 909cb452c2a52f625048da4b660c6458ec2432f9283116f508c3ad29c37ec8e7 diff --git a/libreoffice/Pkgfile b/libreoffice-bin/Pkgfile similarity index 70% rename from libreoffice/Pkgfile rename to libreoffice-bin/Pkgfile index 4b31cb38..2b813f88 100644 --- a/libreoffice/Pkgfile +++ b/libreoffice-bin/Pkgfile @@ -4,10 +4,10 @@ # Packager: Bartlomiej Palmowski, rotwang at crux dot org dot pl # Depends on: cups dbus-glib desktop-file-utils glu gtk krb5 shared-mime-info xorg-libxaw xorg-libxi -name=libreoffice +name=libreoffice-bin version=6.2.5 release=1 -source=(http://download.documentfoundation.org/$name/stable/$version/rpm/x86_64/LibreOffice_${version}_Linux_x86-64_rpm.tar.gz) +source=(http://download.documentfoundation.org/libreoffice/stable/$version/rpm/x86_64/LibreOffice_${version}_Linux_x86-64_rpm.tar.gz) build() { @@ -20,27 +20,27 @@ build() { done bsdtar -p -o -C $workd -xf \ - $name${version%.*}-freedesktop-menus-${version%.*}*.noarch.rpm + libreoffice${version%.*}-freedesktop-menus-${version%.*}*.noarch.rpm cd $workd - mkdir -p $PKG/usr/lib/$name - mv opt/$name*/* $PKG/usr/lib/$name + mkdir -p $PKG/usr/lib/libreoffice + mv opt/libreoffice*/* $PKG/usr/lib/libreoffice - cd $PKG/usr/lib/$name + cd $PKG/usr/lib/libreoffice ln -sf basis${version%.*} basis-link mkdir -p $PKG/usr/bin local programs=(sbase scalc sdraw simpress smath soffice swriter) for program in ${programs[@]}; do - ln -sf /usr/lib/$name/program/$program $PKG/usr/bin/$program + ln -sf /usr/lib/libreoffice/program/$program $PKG/usr/bin/$program done mkdir -p $PKG/usr/share/applications - cd $PKG/usr/lib/$name/share/xdg/ + cd $PKG/usr/lib/libreoffice/share/xdg/ for desktop in *.desktop; do sed -i '/^Exec=/s/libreoffice[^ ]*/soffice/' $desktop - ln -sf /usr/lib/$name/share/xdg/$desktop $PKG/usr/share/applications/$desktop + ln -sf /usr/lib/libreoffice/share/xdg/$desktop $PKG/usr/share/applications/$desktop done mv $workd/usr/share/{mime,icons} $PKG/usr/share diff --git a/libreoffice/post-install b/libreoffice-bin/post-install similarity index 100% rename from libreoffice/post-install rename to libreoffice-bin/post-install
participants (1)
-
crux@crux.nu