# Maintainer: Your name <your@mail.com>
pkgname=yumi
pkgver=0.0.1
pkgrel=1
pkgdesc="Boot and run Linux from a USB flash memory stick"
arch=('any')
url="http://www.pendrivelinux.com"
license=('GPLv3')
depends=('zip' 'gambas3-runtime')
options=('emptydirs')
source=('http://www.pendrivelinux.com/downloads/YUMI/ubuntu/yumi_0.0.1.orig.tar.gz')
md5sums=('77641eeaf77f2d18c27649d288412b54')
package() {
cd "$pkgdir"
install -dm 755 "$pkgdir/usr/bin/"
install -dm 755 "$pkgdir/usr/share/applications/"
install -dm 755 "$pkgdir/usr/share/pixmaps/"
install -m755 "$srcdir/yumi-0.0.1.orig/src/YUMI/YUMI.gambas" "$pkgdir/usr/bin/"
install -m644 "$srcdir/yumi-0.0.1.orig/src/YUMI/yumi.png" "$pkgdir/usr/share/pixmaps/"
cat > $pkgdir/usr/share/applications/$pkgname.desktop << EOF
[Desktop Entry]
Version=1.0
Name=YUMI
Comment=YUMI is Your USB Multiboot Installer! YUMI enables users to easily put multiple Live Linux Operating Systems on a select USB drive, and then run the select Operating System from the USB at boot.
Exec=/usr/bin/YUMI.gambas
Icon=/usr/share/pixmaps/yumi.png
Terminal=false
Type=Application
StartupNotify=true
Categories=System;
EOF
}