summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpapajoker2016-08-18 18:29:38 +0200
committerpapajoker2016-08-18 18:29:38 +0200
commitaadbee4502b73913fde76bf393750e27c0398d05 (patch)
tree094beab81098b289e1f8bddef7ebb970167255d3
parent5d431fd1235cd37e7e2ffac1ad4b0dac71a1e4c3 (diff)
downloadaur-aadbee4502b73913fde76bf393750e27c0398d05.tar.gz
change extract mode
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6aa9b8b419b..627a9b83aac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,9 +10,9 @@ url="https://github.com/papajoker/sys-journald"
_src="http://test.webstratege.fr/"
license=('GPL2')
depends=('gcc-libs' 'gconf' 'alsa-lib' 'nss' 'libxtst' 'gtk2' 'libnotify' 'systemd')
-#makedepends=('p7zip')
+makedepends=('p7zip')
conflicts=('sys-journald-bin')
-#noextract=("${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage")
+noextract=("${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage")
options=('!strip')
source=("${_src}${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage"
"${_pkgname}.desktop")
@@ -21,8 +21,7 @@ md5sums=('e877d4ecc478c519f17db965ae4fc01e' 'ea952c0a0b172fca4a35eea90b58e700' )
prepare() {
cd "${srcdir}"
mkdir -p "${srcdir}/opt/${_pkgname}"
- rm -r usr/bin
- #7z x -y "${srcdir}/${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage" usr/share/icons
+ 7z x -y "${srcdir}/${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage" usr/share/icons
install -v -Dm755 "${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage" "opt/${_pkgname}/${_pkgname}.AppImage"
mv "${_pkgname}.desktop" "${srcdir}/opt/${_pkgname}/${_pkgname}.desktop"
}