updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / desktop2app / PKGBUILD
blob89d570d37a79b9c0a45e4a3859172bb71d183c92
1 # Contributor: linfocito <dududa@gmail.com>
2 pkgname=desktop2app
3 pkgver=0.1.4
4 pkgrel=1
5 pkgdesc="Creates a Rox AppDir wrapper from a .desktop file"
6 url="http://www.kerofin.demon.co.uk/rox/desktop2app.html"
7 license="GPL"
8 depends=('rox-lib' 'rox')
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 install=
14 source=(http://www.kerofin.demon.co.uk/rox/Desktop2App-$pkgver.tar.gz)
15 md5sums=(caa420c0933625a5f2c3a50b8a2d8f03)
17 build() {
18   cd $startdir/src/Desktop2App
19   rm -rf Help
20   mkdir -p $startdir/pkg/usr/share
21   mkdir -p $startdir/pkg/usr/bin
22   cd ..
23   cp -R Desktop2App  $startdir/pkg/usr/share
24   echo "#!/bin/sh" > $startdir/pkg/usr/bin/desktop2app
25   echo "exec /usr/share/Desktop2App/AppRun \"\$@\"" >> $startdir/pkg/usr/bin/desktop2app
26   chmod +x $startdir/pkg/usr/bin/desktop2app