diff options
author | David Roheim | 2015-06-12 18:48:51 +0300 |
---|---|---|
committer | David Roheim | 2015-06-12 18:48:51 +0300 |
commit | 3eb81be2307de0f5c230293f83d264ab6f58182f (patch) | |
tree | 3ffcc01e99e61739c1d7c6383e8531814a3bbed4 /PKGBUILD | |
download | aur-3eb81be2307de0f5c230293f83d264ab6f58182f.tar.gz |
Inistial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3af621a3ae4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer : David Roheim <david [dot] roheim [at] gmail [dot] com> + +pkgname=zendstudio +pkgver=12.5.1 +pkgrel=1 +pkgdesc="ZendStudio is the leading PHP IDE for development" +arch=('i686' 'x86_64') +url="http://www.zend.com/en/products/studio/" +depends=('java-environment' 'gtk2' 'unzip' 'libwebkit' 'libxtst' 'svnkit' 'mariadb-clients') +install=${pkgname}.install +license=("Custom") +options=(!strip) +makedepends=('zip') +source=("http://downloads.zend.com/studio-eclipse/${pkgver}/ZendStudio-${pkgver}-linux.gtk.x86_64.tar.gz" + "${pkgname}.sh" + "${pkgname}.desktop" + "${pkgname}.png") + +sha256sums=('0fd14e251eb0b193ef518bfa57f8584cf1437187f55c68d4579ccd011300ecee' + '99b9dd1daf408b634ec46fb9dafb5553b98a0a6e590ea0d1c3c86a54383c4e3e' + 'f4089b8074161e3dce8e135e6cce33db59cbf06c67bf9dfc1b1e6f6308a23b0a' + '71ff3b80efe5c65e3733f002af64e7ed29c08118cf20e5d0b6e581e6ed7e4ffe') + +[ "$CARCH" = "i686" ] && source[0]="http://downloads.zend.com/studio-eclipse/${pkgver}/ZendStudio-${pkgver}-linux.gtk.x86.tar.gz" +[ "$CARCH" = "i686" ] && sha256sums[0]='20d6c808a8ae29da931640a7ee3a295225f1b59bd657af807e8daaa272957226' + +build() { + true +} + +package() { + install -m755 -d ${pkgdir}/usr/share + mv ZendStudio ${pkgdir}/usr/share/${pkgname} + + install -m755 -d ${pkgdir}/usr/bin + install -m755 ${pkgname}.sh $pkgdir/usr/bin/${pkgname} + + install -m755 -d ${pkgdir}/usr/share/applications + install -m644 ${pkgname}.desktop $pkgdir/usr/share/applications/ + + install -m755 -d ${pkgdir}/usr/share/icons/hicolor/64x64/apps + cp ${pkgname}.png ${pkgdir}/usr/share/icons/hicolor/64x64/apps/${pkgname}.png + chmod 644 ${pkgdir}/usr/share/icons/hicolor/64x64/apps/${pkgname}.png + + sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" ${pkgdir}/usr/share/${pkgname}/plugins/org.apache.ant_1.9.2.v201404171502/bin/runant.py +} + |