diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ddf95ce9243b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = sencha-cmd-6 + pkgdesc = Sencha Cmd provides a collection of powerful, time-saving features that work together and in conjunction with the Sencha Ext JS and Sencha Touch frameworks + pkgver = 6.0.2 + pkgrel = 14 + url = http://fretsonfire.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL + depends = java-runtime + source_i686 = http://cdn.sencha.com/cmd/6.0.2/no-jre/SenchaCmd-6.0.2-linux-i386.sh.zip + md5sums_i686 = 47a1082e8943ab4927a340d89423f3b9 + source_x86_64 = http://cdn.sencha.com/cmd/6.0.2/no-jre/SenchaCmd-6.0.2-linux-amd64.sh.zip + md5sums_x86_64 = 2a0ee5b57fdfebb8e6eabd79786338ca + +pkgname = sencha-cmd-6 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f740d0bad39 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Mathieu OTHACEHE <m.othacehe@gmail.com> + +pkgname=sencha-cmd-6 +pkgver=6.0.2 +pkgrel=14 +pkgdesc="Sencha Cmd provides a collection of powerful, time-saving features that work together and in conjunction with the Sencha Ext JS and Sencha Touch frameworks" +url="http://fretsonfire.sourceforge.net/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('java-runtime') + +source_i686=("http://cdn.sencha.com/cmd/$pkgver/no-jre/SenchaCmd-$pkgver-linux-i386.sh.zip") +source_x86_64=("http://cdn.sencha.com/cmd/$pkgver/no-jre/SenchaCmd-$pkgver-linux-amd64.sh.zip") + +md5sums_i686=('47a1082e8943ab4927a340d89423f3b9') +md5sums_x86_64=('2a0ee5b57fdfebb8e6eabd79786338ca') + +case "$CARCH" in + i686) _pkg="SenchaCmd-$pkgver.$pkgrel-linux-i386.sh" ;; + x86_64) _pkg="SenchaCmd-$pkgver.$pkgrel-linux-amd64.sh" ;; +esac + +build() { + ./$_pkg -q -dir $srcdir/$pkgname-$pkgver +} + +package() { + install -d "$pkgdir/opt" + mv "$pkgname-$pkgver" "$pkgdir/opt/$pkgname" + + cd "$pkgdir" + mkdir -p etc/profile.d + echo 'export PATH=$PATH:/opt/'$pkgname > "etc/profile.d/${pkgname}.sh" + echo 'setenv PATH ${PATH}:/opt/'$pkgname > "etc/profile.d/${pkgname}.csh" + chmod 755 "etc/profile.d/${pkgname}".{csh,sh} +} |