Created
June 18, 2012 21:12
-
-
Save gr3y/2950754 to your computer and use it in GitHub Desktop.
PKGBUILD for building modelio-open 2.2-1 from AUR. !!!NOTE!!! Since I run on 32-bit I haven't updated checksum for 64-bit. Url to 64-bit should be ok (not tested)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Sven Nobis <aur[at]sven[dot]to> | |
pkgname=modelio-open | |
pkgver=2.2 | |
pkgrel=1 | |
pkgdesc="Modelio is an Open Source UML tool developed by Modeliosoft. It supports the UML2 and BPMN2 standards." | |
url="http://www.modelio.org/" | |
arch=('x86_64' 'i686') | |
license=('GPL3' | |
'APACHE') | |
depends=('glibc' | |
'gcc-libs' | |
'atk' | |
'cairo' | |
'gtk2' | |
'glib2' | |
'libwebkit' | |
'libxtst') | |
makedepends=() | |
conflicts=() | |
replaces=() | |
backup=() | |
#install='modelio.install' | |
if [ "$CARCH" = "i686" ]; then | |
_pkg_arch_id='16' | |
_pkg_arch_extra='' | |
_pkg_md5='73d7ed7bce57223589043f932d66d695' | |
elif [ "$CARCH" = "x86_64" ]; then | |
_pkg_arch_id='17' | |
_pkg_arch_extra='-64bit' | |
_pkg_md5='24e1059992dae61b86cb132aa2912755' | |
fi | |
_src_desktop='modelio.desktop' | |
_pkg="${_pkg_arch_id}-modelio-22-linux${_pkg_arch_extra}.html" | |
source=("http://www.modelio.org/modelio-122/doc_download/${_pkg}" | |
"${_src_desktop}") | |
md5sums=("${_pkg_md5}" | |
'62fd046e329c60e2e2b71b235345ccec') | |
options=(!strip) | |
#build() { | |
# | |
#} | |
package() { | |
cd $pkgdir | |
mkdir -p "usr/share/$pkgname" | |
mkdir -p "usr/share/icons" | |
mkdir -p "usr/share/applications/" | |
mkdir -p "usr/bin" | |
cd "${srcdir}/modelio/" | |
cp -r * "$pkgdir/usr/share/$pkgname" | |
cd "$pkgdir/usr/share/icons/" | |
ln -s "../$pkgname/modelio.xpm" | |
cd "$pkgdir/usr/bin/" | |
ln -s "../share/$pkgname/modelio.sh" "modelio" | |
cp "${srcdir}/${_src_desktop}" "$pkgdir/usr/share/applications/" | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment