mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
p7zip - removed destkop and GUI related files
This commit is contained in:
parent
b2229904b4
commit
d7f87b8518
@ -1,11 +1,9 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||||||
# Contributors from Arch: Thayer Williams <thayer@archlinux.org>
|
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/p7zip/
|
||||||
# Hugo Doria <hugo@archlinux.org>
|
|
||||||
# TuxSpirit<tuxspirit@archlinux.fr>
|
|
||||||
|
|
||||||
pkgname=p7zip
|
pkgname=p7zip
|
||||||
pkgver=9.20.1
|
pkgver=9.20.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A command-line port of the 7zip compression utility"
|
pkgdesc="A command-line port of the 7zip compression utility"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
@ -21,9 +19,6 @@ md5sums=('bd6caaea567dc0d995c990c5cc883c89'
|
|||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}_${pkgver}"
|
cd "${srcdir}/${pkgname}_${pkgver}"
|
||||||
|
|
||||||
#[[ $CARCH = x86_64 ]] \
|
|
||||||
#&& cp makefile.linux_amd64_asm makefile.machine \
|
|
||||||
#|| cp makefile.linux_x86_asm_gcc_4.X makefile.machine
|
|
||||||
cp makefile.linux_amd64_asm makefile.machine
|
cp makefile.linux_amd64_asm makefile.machine
|
||||||
|
|
||||||
make all3 OPTFLAGS="${CXXFLAGS}"
|
make all3 OPTFLAGS="${CXXFLAGS}"
|
||||||
@ -44,14 +39,6 @@ package() {
|
|||||||
/usr/share/doc/p7zip/DOCS/unRarLicense.txt
|
/usr/share/doc/p7zip/DOCS/unRarLicense.txt
|
||||||
|
|
||||||
# Integration with stuff...
|
# Integration with stuff...
|
||||||
install -D GUI/p7zip_32.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/p7zip.png
|
|
||||||
install -d "${pkgdir}"/usr/share/{applications,kde4/services/ServiceMenus}
|
|
||||||
cp GUI/kde4/* "${pkgdir}"/usr/share/kde4/services/ServiceMenus/
|
|
||||||
cp ../7z.desktop "${pkgdir}"/usr/share/applications/
|
|
||||||
ln -s 7zCon.sfx "${pkgdir}"/usr/lib/p7zip/7z.sfx
|
ln -s 7zCon.sfx "${pkgdir}"/usr/lib/p7zip/7z.sfx
|
||||||
|
|
||||||
find GUI/help -type d -exec chmod 755 {} \;
|
|
||||||
cp -r GUI/help "${pkgdir}"/usr/lib/p7zip/
|
|
||||||
|
|
||||||
chmod -R u+w "${pkgdir}/usr"
|
chmod -R u+w "${pkgdir}/usr"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user