[arch-commits] Commit in p7zip/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Sat Oct 1 08:52:23 UTC 2011


    Date: Saturday, October 1, 2011 @ 04:52:23
  Author: bisson
Revision: 139182

fix license as per FS#26169

Modified:
  p7zip/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-01 08:28:33 UTC (rev 139181)
+++ PKGBUILD	2011-10-01 08:52:23 UTC (rev 139182)
@@ -7,10 +7,10 @@
 
 pkgname=p7zip
 pkgver=9.20.1
-pkgrel=4
+pkgrel=5
 pkgdesc='Command-line version of the 7zip compressed file archiver'
 url='http://p7zip.sourceforge.net/'
-license=('GPL')
+license=('GPL' 'custom')
 arch=('i686' 'x86_64')
 optdepends=('wxgtk: GUI'
             'desktop-file-utils: desktop entries')
@@ -40,6 +40,12 @@
 		DEST_HOME="/usr" \
 		DEST_MAN="/usr/share/man"
 
+	# Licenses
+	install -d "${pkgdir}"/usr/share/licenses/p7zip
+	ln -s -t "${pkgdir}"/usr/share/licenses/p7zip \
+		/usr/share/doc/p7zip/DOCS/License.txt \
+		/usr/share/doc/p7zip/DOCS/unRarLicense.txt
+
 	# Integration with stuff...
 	install -D contrib/VirtualFileSystemForMidnightCommander/u7z "${pkgdir}"/usr/lib/mc/extfs.d/u7z
 	install -D GUI/p7zip_32.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/p7zip.png




More information about the arch-commits mailing list