mirror of
https://github.com/archlinux/aur.git
synced 2026-02-20 20:43:47 +01:00
Initial import
This commit is contained in:
commit
aa1db21e86
2 changed files with 81 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pkgbase = clion-eap
|
||||
pkgdesc = C/C++ IDE. 30-day evaluation.
|
||||
pkgver = 141.352.13
|
||||
pkgrel = 1
|
||||
url = http://www.jetbrains.com/clion
|
||||
arch = x86_64
|
||||
license = custom
|
||||
optdepends = gdb: native debugger
|
||||
optdepends = cmake: native build system
|
||||
optdepends = gcc: GNU compiler
|
||||
optdepends = clang: LLVM compiler
|
||||
optdepends = biicode: C/C++ dependency manager
|
||||
options = !strip
|
||||
source = http://download.jetbrains.com/cpp/clion-141.352.13.tar.gz
|
||||
sha512sums = 29bfd56e0ab5e97a0fffec6c521259d262cd4798226bdb2059c5cc8474717fe741ae029ab41b60c5ff9dbc6f790b36bc4d2874dea8a85b93b039ca37ec80283a
|
||||
|
||||
pkgname = clion-eap
|
||||
|
||||
63
PKGBUILD
Executable file
63
PKGBUILD
Executable file
|
|
@ -0,0 +1,63 @@
|
|||
# Maintainer: Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
|
||||
pkgname=clion-eap
|
||||
_pkgname=clion
|
||||
pkgbuild=141.352.13
|
||||
# This is a 1.0 release candidate
|
||||
_pkgbuild=1.0
|
||||
pkgver=${pkgbuild}
|
||||
pkgrel=1
|
||||
pkgdesc="C/C++ IDE. 30-day evaluation."
|
||||
arch=('x86_64')
|
||||
options=(!strip)
|
||||
url="http://www.jetbrains.com/${_pkgname}"
|
||||
license=('custom')
|
||||
optdepends=(
|
||||
'gdb: native debugger'
|
||||
'cmake: native build system'
|
||||
'gcc: GNU compiler'
|
||||
'clang: LLVM compiler'
|
||||
'biicode: C/C++ dependency manager'
|
||||
)
|
||||
source=("http://download.jetbrains.com/cpp/${_pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('29bfd56e0ab5e97a0fffec6c521259d262cd4798226bdb2059c5cc8474717fe741ae029ab41b60c5ff9dbc6f790b36bc4d2874dea8a85b93b039ca37ec80283a')
|
||||
|
||||
package() {
|
||||
cd ${srcdir}
|
||||
mkdir -p ${pkgdir}/opt/${pkgname} || return 1
|
||||
cp -R ${srcdir}/${_pkgname}-${_pkgbuild}/* ${pkgdir}/opt/${pkgname} || return 1
|
||||
if [[ $CARCH = 'i686' ]]; then
|
||||
rm -f ${pkgdir}/opt/${pkgname}/bin/libyjpagent-linux64.so
|
||||
rm -f ${pkgdir}/opt/${pkgname}/bin/fsnotifier64
|
||||
fi
|
||||
if [[ $CARCH = 'x86_64' ]]; then
|
||||
rm -f ${pkgdir}/opt/${pkgname}/bin/libyjpagent-linux.so
|
||||
rm -f ${pkgdir}/opt/${pkgname}/bin/fsnotifier
|
||||
fi
|
||||
|
||||
(
|
||||
cat <<EOF
|
||||
[Desktop Entry]
|
||||
Version=${pkgver}
|
||||
Type=Application
|
||||
Name=${pkgname}
|
||||
Exec="/usr/bin/${pkgname}" %f
|
||||
Icon=${pkgname}
|
||||
Comment=${pkgdesc}
|
||||
GenericName=${_pkgname}
|
||||
Categories=Development;IDE;
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
StartupWMClass=jetbrains-${_pkgname}
|
||||
EOF
|
||||
) > ${startdir}/${pkgname}.desktop
|
||||
|
||||
mkdir -p ${pkgdir}/usr/bin/ || return 1
|
||||
mkdir -p ${pkgdir}/usr/share/applications/ || return 1
|
||||
mkdir -p ${pkgdir}/usr/share/pixmaps/ || return 1
|
||||
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} || return 1
|
||||
install -m 644 ${startdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/
|
||||
install -m 644 ${pkgdir}/opt/${pkgname}/bin/${_pkgname}.svg ${pkgdir}/usr/share/pixmaps/${pkgname}.svg
|
||||
install -m 644 ${srcdir}/${_pkgname}-${_pkgbuild}/license/CLion_Preview_License.txt ${pkgdir}/usr/share/licenses/${pkgname}/${_pkgname}_license.txt
|
||||
ln -s /opt/${pkgname}/bin/${_pkgname}.sh "$pkgdir/usr/bin/${pkgname}"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue