1 # Maintainer: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
2 # Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
6 pkgdesc="Update Qingy Xsessions, for the session selection menu."
7 arch=( 'i686' 'x86_64' )
8 url="http://pg.projects.wholebean.info/uqx"
11 depends=( 'bash' 'grep' 'coreutils' 'dash' )
12 optdepends=( 'qingy: If you find a use for this, without qingy, please inform the maintainer.' )
14 source=( "http://dl.projects.wholebean.info/$pkgname/$pkgname-$pkgver.tar.bz2")
15 md5sums=('57ecaa8d07b9e34abb474f451a591d3f')
20 mkdir -p $pkgdir/usr/bin
21 mkdir -p $pkgdir/usr/share/$pkgname
22 mkdir -p $pkgdir/usr/share/applications
23 mkdir -p $pkgdir/usr/share/pixmaps
24 mkdir -p $pkgdir/usr/share/licenses/$pkgname
25 mkdir -p $pkgdir/usr/share/docs/uqx
26 mkdir -p $pkgdir/etc/qingy/xsessions
27 mkdir -p $pkgdir/etc/qingy/sessions
31 mv ./${pkgname}.sh $pkgdir/usr/share/$pkgname/
32 mv ./${pkgname}.desktop $pkgdir/usr/share/applications/
33 mv ./${pkgname}.png $pkgdir/usr/share/pixmaps/
34 mv ./COPYING $pkgdir/usr/share/licenses/$pkgname
35 mv ./README $pkgdir/usr/share/docs/uqx/
36 mv ./${pkgname} $pkgdir/usr/bin/$pkgname
38 chmod 755 $pkgdir/usr/share/$pkgname/${pkgname}.sh
39 chmod 755 $pkgdir/usr/bin/$pkgname
40 chmod u+s $pkgdir/usr/bin/$pkgname
42 ln -s /usr/bin/$pkgname $pkgdir/etc/qingy/sessions/Update_Qingy_Xsessions