forked from ports/contrib
phun: some cosmetic improvements + .desktop file
This commit is contained in:
parent
53bed04685
commit
deb9490ef2
@ -2,6 +2,8 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/phun
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/phun.desktop
|
||||
drwxr-xr-x root/root usr/share/phun/
|
||||
drwxr-xr-x root/root usr/share/phun/Data/
|
||||
drwxr-xr-x root/root usr/share/phun/Data/Fonts/
|
||||
|
12
phun/Pkgfile
12
phun/Pkgfile
@ -11,14 +11,12 @@ source=(http://www.acc.umu.se/~emilk/files/Phun_beta_3_5_linux32.tar.bz2 $name.d
|
||||
build() {
|
||||
cd Phun
|
||||
mkdir -p $PKG/usr/share/$name
|
||||
mkdir $PKG/usr/bin
|
||||
mkdir -p $PKG/usr/bin
|
||||
cp -a ./* $PKG/usr/share/$name
|
||||
cd $PKG/usr/bin
|
||||
mv $PKG/usr/share/$name/$name .
|
||||
sed -i 'i#!/bin/bash\ncd /usr/share/phun' $name
|
||||
# optional .desktop file
|
||||
# install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
|
||||
mv $PKG/usr/share/$name/$name $PKG/usr/bin/
|
||||
sed -i 'i#!/bin/bash\ncd /usr/share/phun' $PKG/usr/bin/$name
|
||||
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
|
||||
chmod 1777 $PKG/usr/share/phun/{Scenes,Screenshots}
|
||||
find $PKG -name "*.txt" -exec rm -f {} \;
|
||||
find $PKG -name "*.txt" -delete
|
||||
chmod -R a+Xr $PKG/usr/share/$name/Data/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user