[arch-commits] Commit in p7zip/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jan 3 17:52:15 UTC 2021
Date: Sunday, January 3, 2021 @ 17:52:15
Author: foutrelis
Revision: 405205
archrelease: copy trunk to testing-x86_64
Added:
p7zip/repos/testing-x86_64/
p7zip/repos/testing-x86_64/PKGBUILD
(from rev 405204, p7zip/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: p7zip/repos/testing-x86_64/PKGBUILD (from rev 405204, p7zip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-01-03 17:52:15 UTC (rev 405205)
@@ -0,0 +1,45 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: TuxSpirit<tuxspirit at archlinux.fr> 2007/11/17 21:22:36 UTC
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=p7zip
+pkgver=17.03
+pkgrel=1
+pkgdesc="Command-line file archiver with high compression ratio"
+arch=('x86_64')
+url="https://github.com/jinfeihan57/p7zip"
+license=('LGPL' 'custom:unRAR')
+depends=('gcc-libs' 'sh')
+source=(https://github.com/jinfeihan57/p7zip/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('bb4b9b21584c0e076e0b4b2705af0dbe7ac19d378aa7f09a79da33a5b3293187')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make OPTFLAGS="$CPPFLAGS $CFLAGS" 7z 7zr 7za
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make install \
+ DEST_DIR="$pkgdir" \
+ DEST_HOME=/usr \
+ DEST_MAN=/usr/share/man
+
+ # Remove documentation for the GUI file manager
+ rm -r "$pkgdir/usr/share/doc/p7zip/DOC/MANUAL/fm"
+
+ install -d "${pkgdir}"/usr/share/licenses/p7zip
+ ln -s -t "$pkgdir/usr/share/licenses/p7zip/" \
+ /usr/share/doc/p7zip/DOC/License.txt \
+ /usr/share/doc/p7zip/DOC/unRarLicense.txt
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list