app-editors/atom: Pax marking fixes

This commit is contained in:
Stefan Reimer 2016-01-15 18:49:53 -08:00
parent 263423c683
commit c154d6b8ae
2 changed files with 3 additions and 4 deletions

View File

@ -1,3 +1,3 @@
AUX atom-python.patch 235 SHA256 03a096473b16d457dd68c5259ca8f17a3f6986deade587241c50094ad3e957a5 SHA512 8470214969a1f299c637dfc96391c58eb5af77ba539a9c21e0fc133316284be6f04f7af6f5f40093106310e5140ba98f564459bc9b3b087040f7a2909e3abf4a WHIRLPOOL c359da8b5002e966894f3d736583a0676f75be8008d68931fcacc81c96bed8ddb5b4bc5b20aba6fca253b6ba6088b8b5d13280424ed8a188064375a6c02a05c1 AUX atom-python.patch 235 SHA256 03a096473b16d457dd68c5259ca8f17a3f6986deade587241c50094ad3e957a5 SHA512 8470214969a1f299c637dfc96391c58eb5af77ba539a9c21e0fc133316284be6f04f7af6f5f40093106310e5140ba98f564459bc9b3b087040f7a2909e3abf4a WHIRLPOOL c359da8b5002e966894f3d736583a0676f75be8008d68931fcacc81c96bed8ddb5b4bc5b20aba6fca253b6ba6088b8b5d13280424ed8a188064375a6c02a05c1
DIST 1.4.0.tar.gz 7899131 SHA256 01102f76c4ef22cddc91ebc8aa4fd3dac9cedad561651e0d5c2be482ec784f1b SHA512 470282433179d90b10e732a3601e5b384d3212afaa3e288e7b6019af4ca2410259139b8a63d3bb5d1c334843a7324e7abd41ee3d757795ae9e9d84429263843c WHIRLPOOL 187be12c335d50572504dcd6684e3b61ab0685ed3f5543955504b2c3b66d7f7d781cf4763f70db5839e5098b98fc892a2c0197ab032584b696eebeb654df390e DIST 1.4.0.tar.gz 7899131 SHA256 01102f76c4ef22cddc91ebc8aa4fd3dac9cedad561651e0d5c2be482ec784f1b SHA512 470282433179d90b10e732a3601e5b384d3212afaa3e288e7b6019af4ca2410259139b8a63d3bb5d1c334843a7324e7abd41ee3d757795ae9e9d84429263843c WHIRLPOOL 187be12c335d50572504dcd6684e3b61ab0685ed3f5543955504b2c3b66d7f7d781cf4763f70db5839e5098b98fc892a2c0197ab032584b696eebeb654df390e
EBUILD atom-1.4.0.ebuild 3068 SHA256 1d946518314f76901313dbb2bb219006a5fc04a0c650e5b347b848c86cd01ff1 SHA512 0b76b260df48b1a8a3a2c35f03972dab49e6ccb59a680559bfbfd26437ab16f8e64324faf1c0a8f434ba921de8a4811c268c0ca026429231969db3d4b8efa8aa WHIRLPOOL 26d5f0bfd7e6e5eb8a2fa0c74699f69d216836613c58f0d749380feee2702a6991904ae22249e51f85198f42fd5f94f6037eecb366adc8fd2f9f7c8a0ef1685c EBUILD atom-1.4.0-r1.ebuild 2977 SHA256 b28efb10084e0210e91ba4b8de31c0e506f6c024ededbb3757e6a37da155384d SHA512 f4ba9b6c97ae79d3cb22460dadcc469c1c2bbfb89f0daf0b39cf6d48d9057811bfd6156301f742b1dde2a4bd0c5b3bb5b83c53147a9ac13d52e3c2dfdf795749 WHIRLPOOL 71c62e29bdd633b505a4f44785bb51978722444fd97f54e54c899540b4c06a0ff6866b91389259bd9716e6448685979c4e243213baa5c8e29f9463ac58d416ef

View File

@ -70,7 +70,9 @@ src_compile(){
done done
[ $SUCCESS -eq 0 ] && die "Build failed" [ $SUCCESS -eq 0 ] && die "Build failed"
pax-mark m ${T}/Atom/atom
pax-mark m ${T}/Atom/resources/app/apm/bin/node pax-mark m ${T}/Atom/resources/app/apm/bin/node
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module" "${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc" echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
} }
@ -95,7 +97,4 @@ src_install(){
# Symlinking to /usr/bin # Symlinking to /usr/bin
dosym ${EPREFIX}/usr/share/${PN}/resources/app/atom.sh /usr/bin/atom dosym ${EPREFIX}/usr/share/${PN}/resources/app/atom.sh /usr/bin/atom
dosym ${EPREFIX}/usr/share/${PN}/resources/app/apm/bin/apm /usr/bin/apm dosym ${EPREFIX}/usr/share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
# Fix Pax
pax-mark m ${EPREFIX}/usr/share/${PN}/resources/app/apm/bin/node
pax-mark m ${EPREFIX}/usr/share/${PN}/${PN}
} }